I have three data sets and also a vector of their error. I want to plot them on the same figure, where the data sets are on the same y-axis (on the left) and the error is on the same figure but with a different axis (on the right).
The function plotyy allows to do it for 1 plot on each axis, how do I do it for several plots?
It is also possible to use
plotyy()with multiple rows of y-values.Following an example from the matlab help:
producing the following figure