8-Gravel
April 16, 2024
Solved
Plotting a function with multiple solutions in one trace
- April 16, 2024
- 1 reply
- 1388 views
Mathcad Prime 9
Hello,
I am trying to plot a function which has a matrix as one of its variables. I want to plot the function as one trace so that when the matrix grows or shirks with length, I don't have to add or subtract plot traces.
I made a simple example of oxygen displacement in a room with a range of different asphyxiant gas (3x1 matrix) for a given room and ventilation rate.
I could display the result of all three curves by adding three traces and use the matrix index...but I want to avoid this manual step and automatic plot all the curves, let's say... when I modify the asphyxiant gas rate to be a 6x1 matrix or a 2x1 matrix. I think I've seen this done before, but don't recall where.


Thanks,
Regards,
Colin


