[Paraview] swap x and y axes in LineChartView from PlotOverLine

Sean McGovern smcgjob at gmail.com
Mon Apr 23 08:03:10 EDT 2018


Thanks, Mathieu.

That's too bad. I was hoping that since it is purely a display issue, 
there might have been a way to transpose vectors. While I do have C++ 
skills, I do not have the inclination to get into the VTK.

Best,

Sean


On 4/20/18 9:14 AM, Mathieu Westphal wrote:
> Hi Sean,
>
> What your are trying to achieve is not possible with ParaView, since 
> it would requires you to display multiples "X arrays" for a single "Y 
> Arrays" and this is not something the Line Chart View can do, even 
> with python scripting.
> It may be possible to implement in VTK directly, but this would be a 
> non trivial work and require C++ skills.
>
> Best regards,
>
> Mathieu Westphal
>
> On Wed, Apr 18, 2018 at 4:23 PM, Sean McGovern <smcgjob at gmail.com 
> <mailto:smcgjob at gmail.com>> wrote:
>
>     Hi Mathieu,
>
>     Perhaps - I believe so.
>
>     In the simplest sense, I would like to have my set of vectors
>     displayed such that it would be as if the vectors shown in the
>     "orginal..." screenshot were reflected across the line y=x. (or in
>     other words to have the "axes swapped")
>
>     I'm not too sure what the "index" really is, I just mention that I
>     have, through trial and error, managed to display *only 1* vector
>     in my desired way. That was through manipulating the "use index
>     for XAxis" toggle.
>
>     Thanks for your reply and I hope that my clarification is helpful.
>
>     I'm still pretty limited to using the GUI (I have traced for
>     nice/simple macros), and I suspect that this would be a reasonable
>     thing to do maybe through the python interface.
>
>     I appreciate your advice.
>
>     Best,
>
>     Sean
>
>
>     On 4/18/18 8:51 AM, Mathieu Westphal wrote:
>>     Hi Sean,
>>
>>     Just to be sure I understand well, you would like to have the
>>     "index" as an Y Axis ?
>>
>>     Best,
>>
>>     Mathieu Westphal
>>
>>     On Tue, Apr 17, 2018 at 7:49 PM, Sean McGovern <smcgjob at gmail.com
>>     <mailto:smcgjob at gmail.com>> wrote:
>>
>>         Hi all,
>>
>>         I am plotting a line over the middle of my domain. There are
>>         a handful of vectors associated of interest, and I would like
>>         to see in my LineChartView, the x and y axes swapped. I
>>         attach a screenshot of how I see it now("original..")
>>
>>         ("one_vector_displayed_as_desired")In "X axis parameters" in
>>         the Properties of my PlotOverLine1, I have used the X Array
>>         Name to be one of the vectors of interest and Points_Y as the
>>         only "Series Parameter". This is the orientation that I would
>>         like, but this way only works for one vector. I need to see
>>         the handful as I can when the default "use index for XAxis"
>>         is on.
>>
>>         I would appreciate your help on getting the x and y axes
>>         swapped.
>>
>>         With many thanks,
>>         Sean
>>
>>         _______________________________________________
>>         Powered by www.kitware.com <http://www.kitware.com>
>>
>>         Visit other Kitware open-source projects at
>>         http://www.kitware.com/opensource/opensource.html
>>         <http://www.kitware.com/opensource/opensource.html>
>>
>>         Please keep messages on-topic and check the ParaView Wiki at:
>>         http://paraview.org/Wiki/ParaView
>>         <http://paraview.org/Wiki/ParaView>
>>
>>         Search the list archives at:
>>         http://markmail.org/search/?q=ParaView
>>         <http://markmail.org/search/?q=ParaView>
>>
>>         Follow this link to subscribe/unsubscribe:
>>         https://public.kitware.com/mailman/listinfo/paraview
>>         <https://public.kitware.com/mailman/listinfo/paraview>
>>
>>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/paraview/attachments/20180423/4c01308a/attachment.html>


More information about the ParaView mailing list