[yt-users] temperatures ticks in projection plot

Nathan Goldbaum nathan12343 at gmail.com
Wed Jul 24 07:38:34 PDT 2013


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
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20130724/ab6be826/attachment.html>


More information about the yt-users mailing list