[yt-users] data_source with SlicePlot
Elizabeth Tasker
tasker at astro1.sci.hokudai.ac.jp
Tue Jul 9 04:45:27 PDT 2013
Hi Matt,
Sorry; I don't understand.
to_pw is "to plot window"?
Does that allow me to specify a font size and create a png?
Elizabeth
On Jul 9, 2013, at 6:27 PM, Matthew Turk <matthewturk at gmail.com> wrote:
> Hi Elizabeth,
>
> On Tue, Jul 9, 2013 at 3:57 AM, Elizabeth Tasker
> <tasker at astro1.sci.hokudai.ac.jp> wrote:
>> Hi everyone,
>>
>> I seem to have to make sad choice when creating slices or projections:
>>
>> I can't seem to both use a region as the data source for my slice/projection and also specify a font size for the legend / axis labels.
>>
>> With SlicePlot, I can use "fontsize" but there is no data_source argument.
>>
>> With add_projection (which isn't quite a slice but close enough), I have a data_source argument but "fontsize" isn't recognised (I also tried "p.set_font({"size": 30})" but to no avail).
>>
>> Is it possible to have a slice (or projection) with both these options available without resorting to creating frbs?
>
> What about making the slice, then using to_pw() on the slice object?
>
> sl = pf.h.slice(...)
> sl.to_pw(...)
>
> Or the same with projections?
>
> -Matt
>
>>
>> Thanks!
>>
>> Elizabeth
>> _______________________________________________
>> yt-users mailing list
>> yt-users at lists.spacepope.org
>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
More information about the yt-users
mailing list