<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 2, 2015 at 11:57 PM, Nathan Goldbaum <span dir="ltr"><<a href="mailto:nathan12343@gmail.com" target="_blank">nathan12343@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Anna,<div><br></div><div>Which yt version are you using? If you're not on yt 3.2.1 or later you should update. There was a bugfix related to plot annotations in multipanel plots that you might need.</div><div><br></div><div>For your second issue, you should be able to specify the axes units using the 'set_axes_units' method. I just tried it and unfortunately when you make a unit like 1000*AU, the default unit labels aren't great, so I also had to manually override the unit labels.</div><div><br></div><div>Take a look at this notebook for an example: <a href="http://nbviewer.ipython.org/gist/ngoldbaum/56bbcfb832dfa1fe6db1" target="_blank">http://nbviewer.ipython.org/gist/ngoldbaum/56bbcfb832dfa1fe6db1</a></div><div><br></div><div>I used 1000 kpc because of the scales in my notebook, but 1000 AU should work as well. I'll think more about how to make the default unit labels nicer for units like '1000*AU'. Hopefully in future yt versions it won't be necessary to manually create the labels.</div></div></blockquote><div><br></div><div>Oops, typo, i mean the scales in the dataset.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>-Nathan</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Mon, Nov 2, 2015 at 11:33 PM, Anna Rosen <span dir="ltr"><<a href="mailto:alrosen@ucsc.edu" target="_blank">alrosen@ucsc.edu</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div style="word-wrap:break-word"><div>Hi all,</div><div><br></div><div>I am trying to annotate star particles in a slice plot. My code creates a two panel plot of a slice in the yz-plane and a slice in the xy-plane.</div><div>If I make a single slice plot I can annotate the particles just fine but when I try to do it in a multi panel plot the annotations don’t appear.</div><div><br></div><div>The code is attached here, the relevant code is between if MULTI_SLICE: and if OFF_AXIS:.</div><div><a href="http://paste.yt-project.org/show/6018/" target="_blank">http://paste.yt-project.org/show/6018/</a></div><div><br></div><div>My question is is it possible to use plot annotations when trying to make multipanel slice plots or will I have to make those manually?</div><div><br></div><div>Another concern I had was axis labeling. I’ve attached an example of one of my slice plots here:</div><div><br></div><div><a href="http://i.imgur.com/1SvaQMN.png" target="_blank">http://i.imgur.com/1SvaQMN.png</a></div><div><br></div><div>The numbering is confusing because of the 1e3 on the x and y axes in odd places. Is there a way I can choose to plot in units of 1000 AU instead of AU? Or change the axis labeling?</div><div><br></div><div>Thanks,</div><div><br></div><div>Anna</div></div><br></div></div>_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org" target="_blank">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div></div>