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

Plot Multiple Traces Simpler

SOLVED
Highlighted
Level 8

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.

Tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions

Re: Plot Multiple Traces Simpler

Nevermind, found this:

https://community.ptc.com/t5/PTC-Mathcad/Multiple-Variable-Functions-and-Plotting-New-Critical-Limit...

 

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

3 REPLIES 3

Re: Plot Multiple Traces Simpler

Nevermind, found this:

https://community.ptc.com/t5/PTC-Mathcad/Multiple-Variable-Functions-and-Plotting-New-Critical-Limit...

 

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

Re: Plot Multiple Traces Simpler

From this forum.

stack.png

Re: Plot Multiple Traces Simpler

ans-2.png