4-Participant
September 8, 2025
Solved
Plotting just a portion of a vector in Mathcad Prime 11
- September 8, 2025
- 2 replies
- 791 views
I have a vector of data points, and I'd like to be able to selectively plot just a portion of that vector. For example, I have a vector value:=[2 3 5 8 13 21] and I want to plot just elements 2, 3, and 4. I created an index:=[2 3 4] and tried to plot value[index on the vertical axis. I've tried both the chart component and the native plotting tool, and neither worked. The only way I've figured out how to do this is to write a mathcad program to fill a third vector with just the portion that I wish to plot, then plot that third vector. That's awkward. Can you tell me what I'm doing wrong?



