Re: [Paraview] Simple 2D plots

2018-04-30 Thread David Ortley
Also consider using the Delaunay2D filter on the TableToPoints filter
instead of messing around with changing the point size.

-David Ortley

On Mon, Apr 30, 2018 at 4:44 PM, David Ortley  wrote:

> I think the TableToPoints filter is what you want.  There's a checkbox
> where you can tell the data to be 2D that is below where you assign columns
> to X, Y and Z coordinates.
> What happens is that the x, y and z columns get removed from the table and
> a new point type is generated (yes, Z will get removed even if you select
> only 2D points), so either redundantly assign the Z column to one of your
> first two columns (so, X Column and Z Column are both set to the 'x' or
> first column, which will be harmless in this case), or select 'Keep All
> Data Arrays' which will keep the columns values around for coloring.
>
> Note that with 2D points, the Render View SHOULD go to '2D', but it
> sometimes doesn't.  There's a '3D' in small text at the top of the render
> view that will go to '2D' if you click it.  Then hit the 'Set View
> Direction -Z' glyph in the top bar.
>
> Play with the Point Size var to fill in the gaps.  And the mouse works
> slightly differently in 2D, so you'll have to develop new muscle memory. :)
>
> -David Ortley
>
> On Sat, Apr 28, 2018 at 1:21 PM, eric greenwade 
> wrote:
>
>> OK, a little embarrassing to ask, but the answer is needed. I'm trying to
>> do old fashioned, 2D plots. Data is (x,y,z) and even though its in an ascii
>> csv file, the (x,y) are structured rectilinear (uniform actually). I've
>> added a dummy third coord (all 0s) and then plotted as 3D, but this seems
>> like a kludge.
>>
>> I'd like to do the some of the basic 2D plots with this data: heatmaps
>> were z is used for color table value, contouring on z and elevation plots
>> were z is height. Not all three at once.
>>
>> I'm sure this is an RTFM, but I've looked. If someone could provide
>> pointers, references, suggestions, it would be greatly appreciated.
>>
>> thanks,
>>
>> -eric
>>
>> ___
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the ParaView Wiki at:
>> http://paraview.org/Wiki/ParaView
>>
>> Search the list archives at: http://markmail.org/search/?q=ParaView
>>
>> Follow this link to subscribe/unsubscribe:
>> https://public.kitware.com/mailman/listinfo/paraview
>>
>>
>
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
https://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Simple 2D plots

2018-04-30 Thread eric greenwade
Thanks Utkarsh, Just a quick question to validate my understanding. It
sounds like you're confirming what I had determined so far, you can't plot
simple 2D data, you have to pretend its 3D, i.e. the additional of a z axis
where the values are all zero? I had figured that one out, and it works for
this example, a simple heat map. However, this doesn't work for the
creation of a contour plots or elevation plots, where the third variable is
interpreted as height? Ideally, the result would be an elevation plot with
the height values also used to color the surface. Can these other types of
plots also be created in paraview?

thanks,

-eric

On Mon, Apr 30, 2018 at 12:57 PM, Utkarsh Ayachit <
utkarsh.ayac...@kitware.com> wrote:

> Eric,
>
> You can potentially use the "Table To Structrued Grid" filter. Attached is
> an example state file with a csv file used.
>
> Utkarsh
>
> On Sat, Apr 28, 2018 at 3:21 PM, eric greenwade 
> wrote:
>
>> OK, a little embarrassing to ask, but the answer is needed. I'm trying to
>> do old fashioned, 2D plots. Data is (x,y,z) and even though its in an ascii
>> csv file, the (x,y) are structured rectilinear (uniform actually). I've
>> added a dummy third coord (all 0s) and then plotted as 3D, but this seems
>> like a kludge.
>>
>> I'd like to do the some of the basic 2D plots with this data: heatmaps
>> were z is used for color table value, contouring on z and elevation plots
>> were z is height. Not all three at once.
>>
>> I'm sure this is an RTFM, but I've looked. If someone could provide
>> pointers, references, suggestions, it would be greatly appreciated.
>>
>> thanks,
>>
>> -eric
>>
>> ___
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the ParaView Wiki at:
>> http://paraview.org/Wiki/ParaView
>>
>> Search the list archives at: http://markmail.org/search/?q=ParaView
>>
>> Follow this link to subscribe/unsubscribe:
>> https://public.kitware.com/mailman/listinfo/paraview
>>
>>
>
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
https://public.kitware.com/mailman/listinfo/paraview


[Paraview] Simple 2D plots

2018-04-28 Thread eric greenwade
OK, a little embarrassing to ask, but the answer is needed. I'm trying to
do old fashioned, 2D plots. Data is (x,y,z) and even though its in an ascii
csv file, the (x,y) are structured rectilinear (uniform actually). I've
added a dummy third coord (all 0s) and then plotted as 3D, but this seems
like a kludge.

I'd like to do the some of the basic 2D plots with this data: heatmaps were
z is used for color table value, contouring on z and elevation plots were z
is height. Not all three at once.

I'm sure this is an RTFM, but I've looked. If someone could provide
pointers, references, suggestions, it would be greatly appreciated.

thanks,

-eric
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
https://public.kitware.com/mailman/listinfo/paraview