cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

Contour Plots

mzeftel
12-Amethyst

Contour Plots

We are specifying new contour plots. Can you send examples of contour plots that you want and any additional features that you would like.

Thanks,

Mona
14 REPLIES 14
RichardJ
19-Tanzanite
(To:mzeftel)

One thing I would like is a more intelligent choice of contour levels. If I ask for, say, 12 levels, I don't want them at, for example, 13.23218389123, 17.289382738219, etc. Or give me some way to force them to reasonable numbers. Sometimes it would also be better if we could specify a contour interval, rather than the number of contours. So perhaps we need three entry fields: number of contours, contour interval, first contour value. Changing the values in one field will of course affect the others.

Richard


Richard Jackson said:
One thing I would like is a more intelligent choice of contour
levels. If I ask for, say, 12 levels, I don't want them at, for
example, 13.23218389123, 17.289382738219, etc. Or give me some way to
force them to reasonable numbers. Sometimes it would also be better
if we could specify a contour interval, rather than the number of
contours. So perhaps we need three entry fields: number of contours,
contour interval, first contour value. Changing the values in one
field will of course affect the others.

I agree entirely. Its not difficult to write code to give (Z) levels
that are sensible (in twos, fives, tens etc. Also, we should be able
to define the boundary (X,Y) scales as functions of the matrix
indices that create the plot so we can control them computationally.
Mike.
Ninetrees
12-Amethyst
(To:RichardJ)

Wholeheartedly! I recall being able to do this in Matlab, and then my frustration with "learning" how to set the bounds of the data in a function (thanks to helpful collab) and tinker with the Special features to be able to //approximate// what I expected to get. In the same plot that gets me 1.25, 1.4...I get 2.749 instead of 2.75, which is annoying in that it adds clutter to the plot and obscures the "real" value of the contour.

Rich
http://www.downeastengineering.com/
mzeftel
12-Amethyst
(To:RichardJ)

On 12/15/2009 11:16:20 AM, Mona Zeftel wrote:
>
>We are planning to have the
>user set the interval for
>contour plots.
>
>Mona

And to just a single value?

RichardJ
19-Tanzanite
(To:ptc-1209116)

On 12/16/2009 4:29:31 PM, Al Pergande wrote:
>I'd like to read in a vector
>of monotonic numbers (like
>HIST()) to allow me to
>emphasize certain ranges of
>the plot. And if I could read
>in a vector of colors (i.e.
>assign a specific RGB to a
>range) that would really be
>nice.

I agree. Along the same lines, I want to be able to read vectors (or matrices) of numbers in 2D (or 3D) plots that would set the symbol type for each point, or the symbol size, or the symbol color, or put text at that point, or some combination of the above.

Richard

On 12/16/2009 4:25:50 PM, Mona Zeftel wrote:
>Steen,
>
>We are planning it like
>setting the intervals in a
>range variable, which
>is how the intervals in the
>Mathcad Prime 1.0 Preview
>plots are set.
>
>Do you or others want to have
>different interval settings in
>one contour
>plot?
>
>Mona
>

Yes. I do wish to have two different contour intervals in one plot. Esentially they are 'above' and 'below' the sea level/horizon line.

This is common for narrow features sticking up high above broad low varying background.

another example is a 2d DoG (Difference of Gausian) filter.

An obvious solution, not quite as advanced as Richards, is to be able to pass a vector of cotour values, just as one would pass to the histogram function (Non-uniform Bin Case) [Existence theorem - proven..]

Philip Oakley C.Eng
philipoakley@iee.org

On 12/16/2009 4:25:50 PM, Mona Zeftel wrote:
>Steen,
>
>We are planning it like
>setting the intervals in a
>range variable, which
>is how the intervals in the
>Mathcad Prime 1.0 Preview
>plots are set.
>
>Do you or others want to have
>different interval settings in
>one contour
>plot?
>
>Mona

Can't check as it seems the licence has run out. Never mind I will like to set "intervals" to whatever you can imagine and then some. First of all just to one single value.

Steen Gro�e
RichardJ
19-Tanzanite
(To:mzeftel)

If I have contours that are drawn on a surface, I would like to able to number them.

Richard
RichardJ
19-Tanzanite
(To:mzeftel)

I almost forgot. We must have a way to include a legend that shows the colors vs intensities. See here for examples:

http://www.advsofteng.com/gallery_contour.html

Richard
mzeftel
12-Amethyst
(To:RichardJ)

RichardJ
19-Tanzanite
(To:mzeftel)

On 12/21/2009 11:48:28 AM, Mona Zeftel wrote:
>A color legend is part of the
>new spec for contour plots 🙂

Great! And surface plots too, I hope.

Richard
Announcements

Top Tags