[yt-users] pc.add_phase_object(source,[x,y,z],…)

Renyue Cen cen at astro.princeton.edu
Sun Aug 25 09:34:39 PDT 2013


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 at 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 at 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 at lists.spacepope.org
>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org




More information about the yt-users mailing list