[yt-users] yt-users Digest, Vol 66, Issue 42
Renyue Cen
cen at astro.princeton.edu
Mon Aug 26 10:43:54 PDT 2013
Hi,
Thanks.
I am not even plotting using MATLAB or alike.
I just want to read in the data in Fortran to look at it in some detail,
so I think that my (j,i) switched way should work. Just to make sure.
Renyue
On Aug 26, 2013, at 1:50 PM, yt-users-request at lists.spacepope.org wrote:
> Send yt-users mailing list submissions to
> yt-users at lists.spacepope.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
> or, via email, send a message with subject or body 'help' to
> yt-users-request at lists.spacepope.org
>
> You can reach the person managing the list at
> yt-users-owner at lists.spacepope.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of yt-users digest..."
>
>
> Today's Topics:
>
> 1. Re: pc.add_phase_object(source,[x,y,z],?) (Geoffrey So)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sun, 25 Aug 2013 11:46:23 -0700
> From: Geoffrey So <gsiisg at gmail.com>
> To: Discussion of the yt analysis package
> <yt-users at lists.spacepope.org>
> Subject: Re: [yt-users] pc.add_phase_object(source,[x,y,z],?)
> Message-ID:
> <CAM-dO+Bw4g+V4QDsNt1s2vCbnpG8Q4-X8amrwmKnvZFu90skCA at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> 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 at 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 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
>>
>> _______________________________________________
>> yt-users mailing list
>> yt-users at lists.spacepope.org
>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20130825/80ed8fce/attachment.html>
>
> ------------------------------
>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
>
> End of yt-users Digest, Vol 66, Issue 42
> ****************************************
More information about the yt-users
mailing list