[yt-users] temperatures ticks in projection plot

Stefano Bovino poetaste at gmail.com
Wed Jul 24 07:42:56 PDT 2013


Hi Nathan,
thank you for the reply! I will try something like you suggested.
BTW the script I'm using is the same as the following:

http://yt-project.org/doc/cookbook/multi_plot_slice_and_proj.py

Stefano


On Wed, Jul 24, 2013 at 4:38 PM, Nathan Goldbaum <nathan12343 at gmail.com>wrote:

> Hi Stefano,
>
> Can you do something similar to this matplotlib recipe?
>
>
> http://matplotlib.org/examples/pylab_examples/colorbar_tick_labelling_demo.html
>
> It's hard to give more specific advice without a script to look at.
>
> Nathan
>
>
> On Wednesday, July 24, 2013, Stefano Bovino wrote:
>
>> Hi all,
>> I'm plotting a standard 3x2 panels plot with density, temperature and
>> vorticity.
>> For temperature I'm using a non-Log scale in a range of 300 and 1000 K,
>> but the tick numbers on the bar are too close.
>> I would like to set a range of ticks, say 300, 500, 800, 1000 to have a
>> more readable colorbar.
>> I tried to use matplotlib.ticker.MultipleLocator but maybe I'm doing
>> something wrong.
>>
>> Do you have any suggestion?
>>
>> Thank you in advance
>> Stefano
>>
>>
>>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20130724/a8d0a9a5/attachment.html>


More information about the yt-users mailing list