[yt-dev] Orientation, coordinate systems

Nathan Goldbaum nathan12343 at gmail.com
Fri Jan 17 10:35:42 PST 2014


On Fri, Jan 17, 2014 at 10:28 AM, Nathan Goldbaum <nathan12343 at gmail.com>wrote:

> I would also like to see this fixed.
>
> It would also be nice to see volume renderings, off-axis projections and
> cutting planes align with the plot coordinate axes when the normal vector
> is aligned with one of the coordinate axes.
>

Sorry, I meant to say "align with the data coordinate axes".

To clarify further: I'd ideally like to see these two function calls
produce identical plots:

ProjectionPlot(pf, 2, 'Density')
OffAxisProjectionPlot(pf, [0,0,1], 'Density')

without having to specify a north_vector by hand for the second plot.

Of course there will be some differences because of the different
underlying data selection, but at least the plots should be aligned.


>
> I think the orientation class is already used everywhere where it would be
> appropriate.  Matt, can you clarify a bit what you mean by "not used
> everywhere"?
>
>
> On Fri, Jan 17, 2014 at 10:24 AM, Britton Smith <brittonsmith at gmail.com>wrote:
>
>> I imagine this still leaves a number of people in the dark.  Unless I
>> misunderstand, my issue was that slices and projections do not follow the
>> right hand rule, in that the following should be true:
>> slice_axis image_x image_y
>> ##########################
>> x          y       z
>> y          z       x
>> z          x       y
>>
>> slice_axis image_x image_y
>> ##########################
>> x          y       z
>> y          x       z
>> z          x       y
>>
>> I guess it's really just viewing along the y axis, but it does lead to
>> having to do some work-arounds here and there.  I would be in favor of
>> fixing this issue.
>>
>>
>> On Fri, Jan 17, 2014 at 6:11 PM, Matthew Turk <matthewturk at gmail.com>wrote:
>>
>>> Yes, sorry.  The common criticism is that it's not a right-handed
>>> coordinate system, and that the Orientation class is not used
>>> everywhere.
>>>
>>> On Fri, Jan 17, 2014 at 12:54 PM, John ZuHone <jzuhone at gmail.com> wrote:
>>> > Ditto.
>>> >
>>> > On Jan 17, 2014, at 12:53 PM, Britton Smith <brittonsmith at gmail.com>
>>> wrote:
>>> >
>>> > Hi Matt,
>>> >
>>> > Can you expand on the context here?  I don't think I know exactly what
>>> > you're referring to.
>>> >
>>> > Britton
>>> >
>>> >
>>> > On Fri, Jan 17, 2014 at 5:11 PM, Matthew Turk <matthewturk at gmail.com>
>>> wrote:
>>> >>
>>> >> Hi all,
>>> >>
>>> >> I'd like to open up the discussion of "fixing" the yt coordinate
>>> >> systems, as we move nearer and nearer on 3.0.  Jeff, Nathan and
>>> >> Britton have brought this up a couple times, that the x/y/z ordering
>>> >> is not consistent with what they expect, and I'd like to figure out if
>>> >> we can fix that now -- it's as good a time as any for bandaid ripping.
>>> >>  It may just be a matter of the transposition of buffers and the
>>> >> x_dict and y_dict, or it might be more complex, although I suspect it
>>> >> won't be much more than fixing those two items.
>>> >>
>>> >> -Matt
>>> >> _______________________________________________
>>> >> yt-dev mailing list
>>> >> yt-dev at lists.spacepope.org
>>> >> http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
>>> >
>>> >
>>> > _______________________________________________
>>> > yt-dev mailing list
>>> > yt-dev at lists.spacepope.org
>>> > http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
>>> >
>>> >
>>> >
>>> > _______________________________________________
>>> > yt-dev mailing list
>>> > yt-dev at lists.spacepope.org
>>> > http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
>>> >
>>> _______________________________________________
>>> yt-dev mailing list
>>> yt-dev at lists.spacepope.org
>>> http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
>>>
>>
>>
>> _______________________________________________
>> yt-dev mailing list
>> yt-dev at lists.spacepope.org
>> http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-dev-spacepope.org/attachments/20140117/01b6030d/attachment.html>


More information about the yt-dev mailing list