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

Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X

Add/Remove More plot lines automatically from a vector plot

jroth
5-Regular Member

Add/Remove More plot lines automatically from a vector plot

I am plotting the velocity in a line verse the diameter of the line. I have a vector of temperatures and pressures. I am wondering if it is possible to automatically add more plot lines to a 2D plot if I add another entry in the temperature and pressure vectors. The velocity is currently a function of the mass flow, diameter, temperature and pressure.

ACCEPTED SOLUTION

Accepted Solutions
Werner_E
25-Diamond I
(To:jroth)

Here is your file with a working waterfall plot - you may take the pdf of my MC15 file as a guide.

The third method should work in Prime as well, but will not look that good as prime will not collapse the height of the plot when not edited and it will also show an error for the unused plots (which are all "constant" NaN).

14.01.png

View solution in original post

7 REPLIES 7

May be so.

I create one line with the view of a set of lines:

http://twt.mpei.ac.ru/TTHB/5/3/3_19_wspHPT_Set_of_Plots.gif

http://twt.mpei.ac.ru/TTHB/5/3/3_20_wspHPT_Set_of_Plots_Hiden_Area.gif

On Mathcad server:

http://twt.mpei.ac.ru/TTHB/5/3/3_21_wspHTP_Set_of_Plots.gif

Werner_E
25-Diamond I
(To:jroth)

First you should state which version of Mathcad the questions is for. Not every method to plot a family of curves will work in Prime.

Then it sure would help if you post your worksheet showing the equations and vectors you would like to apply.

You may look up "waterfall plot" in the help and there is also a quicksheet dealing with the substect if I remember correctly.

Furthermore the subsject was discussed here a couple of time so you may search for posting with "waterfall" and/or "family of curves". Maybe this thread could be of interest http://communities.ptc.com/message/209873#209873

jroth
5-Regular Member
(To:Werner_E)

Here is my current worksheet. It is mathcad 3.0 Prime.

Werner_E
25-Diamond I
(To:jroth)

Could it be you are searching something like the attached?

13.01.png

jroth
5-Regular Member
(To:Werner_E)

Here is my attempt at doing the waterfall graph. I'd be interested to know how to also do the line change graph if any of that is possible in Prime 3.0.

Werner_E
25-Diamond I
(To:jroth)

Here is your file with a working waterfall plot - you may take the pdf of my MC15 file as a guide.

The third method should work in Prime as well, but will not look that good as prime will not collapse the height of the plot when not edited and it will also show an error for the unused plots (which are all "constant" NaN).

14.01.png

Plot of the set of line on thr Mathcad server.

http://twtmas.mpei.ac.ru/mas/Worksheets/2D_Plot_y_x_a.mcd

You can download the sheet on this site.

Announcements

Top Tags