[yt-users] Problem using Multiplot_yt
rahul kashyap
rahulkashyap411 at gmail.com
Sat Nov 19 21:35:41 PST 2016
Hi,
After doing
import yt.visualization.eps_writer as eps
from yt.visualization.eps_writer import multiplot_yt
s = yt.SlicePlot(ds, "z", ["density","temperature",
"velocity_magnitude","pressure"], center="max")
This works for me
eps_fig = eps.single_plot(s)
eps_fig.save_fig('zoom', format='eps')
eps_fig.save_fig('zoom-pdf', format='pdf')
*But, the code below doesn't work for me; error is "YTFieldNotFound: Could
not find field '('io', 0)' in super3d_hdf5_plt_cnt_0000."*
s.set_width(2.e9, 'cm')
eps_fig = eps.multiplot_yt(2, 2, s, bare_axes=True) #not working now
#eps_fig.scale_line(0.2, '5 kpc')
eps_fig.save_fig('multi', format='eps')
Any help would be appreciated, Thanks
-Rahul Kashyap
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20161120/3d7080e0/attachment.htm>
More information about the yt-users
mailing list