I usually use something similar to http://paste.yt-project.org/show/3816/ to use yt to bin the data then use matplotlib to make the plot of the 2D profile for more customization options. If you compare the test1.....png and test2.png, you should see they are using the same data range, the 2D profile is transposed to switch x,y and origin set at (0,0). hope it's something you can use. From G.S. On Sun, Aug 25, 2013 at 9:34 AM, Renyue Cen <cen@astro.princeton.edu> wrote:
Hi Matt,
so if I just read in data filename like:
do j=1,50 do i=1,50 read(1,*)column(i),row(j),Z(j,i) enddo enddo
will that correct Z exactly?
Renyue
On Aug 25, 2013, at 12:28 PM, Matthew Turk <matthewturk@gmail.com> wrote:
Hi Renyue,
Yup, it's column/row switched from what one might expect. But, the bins written out should correspond.
-Matt
On Sun, Aug 25, 2013 at 10:38 AM, Renyue Cen <cen@astro.princeton.edu> wrote:
Hi,
When I do
plotdata=pc.add_phase_object(source,["FieldX","FieldY","QuantityZ"],weight = None,..)
plotdata.data_write_out(filename)
It seems that the QuantityZ written out in file filename is transposed with respect to x-y plane of the plot plotted by pc.add_phase_object().
Has anyone encountered this? If anyone wants script and actual file to help me, I can send to you.
Thanks, Renyue
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org