20 Nov
2016
20 Nov
'16
5:35 a.m.
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