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

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

Plot Multiple Traces Simpler

Friengineer
10-Marble

Plot Multiple Traces Simpler

I don't think this is possible, but hope dies last, so hence this post:

 

Is it possible to plot multiple traces in Mathcad Prime with the arguments being sourced form a single matrix or array?
Let's say I have a simple function of the form f(x): 2x + a

I have an array of 'a' values: a: [1, 2, 3, 4, 5]

 

I wish to plot 5 traces (a trace for each value in 'a') without manually adding and writing out the function five times in the plot window (there will be cases when I might need to plot many more than 5 traces, so looking for efficient methods).

 

Your responses would be greatly appreciated.

ACCEPTED SOLUTION

Accepted Solutions

3 REPLIES 3

Nevermind, found this:

https://community.ptc.com/t5/PTC-Mathcad/Multiple-Variable-Functions-and-Plotting-New-Critical-Limitation/m-p/73601/highlight/true#M29260

 

Seems there's not a simple way, but it is possible via a program.

ttokoro
20-Turquoise
(To:Friengineer)

From this forum.

stack.png

ttokoro
20-Turquoise
(To:ttokoro)

ans-2.png

Announcements

Top Tags