plotting the outcomes of a matrix
Show older comments
Goodmorning all!
I would like to plot the outcomes of my matrix and I need your help on this one.
I've got a matrix, "x1" consisting of portfolio weights over several simulation paths.
So the X-axis are time-steps (1-20), Y-axis are simulation paths (1-10000), and the outcomes are the weights, ranging from 0-1.
What i want to do is to make a time-horizon plot. On the x-axis, I would like to have the time horizon, so 1-20 and on the y-axis the weights, from 0-1.
How should I do this?
Many thanks!
1 Comment
dpb
on 11 Jun 2013
Only way I'd see in ML handle graphics would be to either a) make a new axis for each series, or b) offset the values by the height differential between series.
But, w/ 10k series, how many pixels do you have vertically on the monitor and therefore, once you reduce that total real estate by the ratio of the axis height to monitor height, how many pixels are there to display each series? Not many, methinks... :)
Accepted Answer
More Answers (0)
Categories
Find more on Line Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!