2d Plot with 3 Axes
显示 更早的评论
Hi,
what i have is a Matrix and 2 Vektors. Creating a 3d-Surface works fine. What i'm trying now (for a couple hours by now -.-) is to get a 2d-Plot, where the X-Axis is Vektor1 and the Y-Axis shows the Matrix. The second Vektor needs to be displayed by the usage of multiple lines, (in principle) similar to this:

Please tell me thats possible, i would really want to avoid excel-post-processing.
Thank You
采纳的回答
更多回答(1 个)
Thorsten
2016-8-17
You question is not entirely clear to me. But in principle you can achieve such a plot quite simple:
y = [1:10; 10:10:100];
x = [1000 6000];
plot(x,y)
If this is not want you want, please be more specific; it may also be helpful to post the data.
4 个评论
I cannot imagine how a plot with a matrix as y-axis should look like. And in my understanding a line with a single value like B = 11 is just a horizontal line; but I think that is not what you want.
Can you please generate the plot for the data above with a different program, or post a sketch of how the plot should look like?
Thorsten
2016-8-18
Like this?
h = plot(A, M)
legend(h, 'B=11', 'B=12', 'B=13')
类别
在 帮助中心 和 File Exchange 中查找有关 Annotations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!