[yt-users] forcing ticks on colorbar

Ricarda Beckmann ricarda.beckmann at astro.ox.ac.uk
Mon Jun 1 08:35:35 PDT 2015


Hello,

I keep producing projection plots where the colorbar is completely devoid of ticks and ticklabels so I don’t actually know what sort of densities/temperatures etc I am looking at.

I have found this tutorial: http://yt-project.org/doc/cookbook/custom_colorbar_tickmarks.html?highlight=colorbar <http://yt-project.org/doc/cookbook/custom_colorbar_tickmarks.html?highlight=colorbar> but I’d rather just let the values be determined automatically. Currently I’m not even sure what order of magnitude I am looking at.

Is there a way to force yt to show a minimum number of tick marks on the colorbar? I have a feeling this questions has been answered before but the archive is still down apparently.

Thanks for your help,
Ricarda
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20150601/31b4e7a8/attachment.htm>


More information about the yt-users mailing list