Custom plot in MATLAB?
显示 更早的评论
Good afternoon,
I have the MATLAB R2016b release and I need to have a plot with the following scheme but I do not know how to do it:
- Two line plots with different axis in the left side of the plot and one area plot with the right axis.
I prove with yyaxis left and right, ploty, addaxis but I have not managed to get it out.
Can anyone help me please?
Thanks in advance.
Manuel
回答(1 个)
Fangjun Jiang
2020-3-18
0 个投票
https://www.mathworks.com/help/releases/R2019b/matlab/creating_plots/plotting-with-two-y-axes.html
4 个评论
Manuel Montesinos del Puerto
2020-3-18
编辑:Manuel Montesinos del Puerto
2020-3-18
Fangjun Jiang
2020-3-18
area(AX, ___ ), plots into the axes specified by AX instead of the current axes. ??
Maybe you need to provide a scatch to show what is your desired effect.
Manuel Montesinos del Puerto
2020-3-19
Fangjun Jiang
2020-3-19
Sorry, as far as I know, you can only have two y-axis (left and right). No third y-axis.
类别
在 帮助中心 和 File Exchange 中查找有关 2-D and 3-D Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
