2d Plot with 3 Axes

1 visualización (últimos 30 días)
mec123
mec123 el 17 de Ag. de 2016
Respondida: José-Luis el 18 de Ag. de 2016
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

Respuesta aceptada

José-Luis
José-Luis el 18 de Ag. de 2016
axes; hold on;
numL = 10;
for ii = 1:5
plot3(1:numL,ii.*ones(1,numL),rand(1,numL));
end
view(45,25)

Más respuestas (1)

Thorsten
Thorsten el 17 de Ag. de 2016
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 comentarios
mec123
mec123 el 17 de Ag. de 2016
Editada: mec123 el 17 de Ag. de 2016
I think this gets very close to my concern: LINK. The Y-Axis of these 2D-Charts are a scale from 0 to 80, which fully covers the entries of the matrix. In my major its a quite often used way to illustrate 3 dimensional informations. I hope that helps to get my matter.
Thorsten
Thorsten el 18 de Ag. de 2016
Like this?
h = plot(A, M)
legend(h, 'B=11', 'B=12', 'B=13')

Iniciar sesión para comentar.

Categorías

Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by