hi , every one , can i find help to do this , thank you
Información
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
Mostrar comentarios más antiguos
1) how can i make a plot like this ( i need only the plot with the yellow line )
2) if i have a file.fig and i need to integrate it in a script matlab to put it with another figure on the same plot

7 comentarios
dpb
el 7 de Jun. de 2019
So, is the figure shown the .fig file content? Or, where did the yellow line shown come from? If you have the figure, what's the problem in retrieving the X|YData from it?
mina massoud
el 7 de Jun. de 2019
Walter Roberson
el 7 de Jun. de 2019
I do not see a "quadratic scale plot" ?
xlim([-500 500]);
xtick(-500:250:500);
ylim([0 2000]);
ytick(0:250:2000);
xlabel('y-axis [m]');
ylabel('x-axis [m]');
I guess I don't follow what is "a quadratic scale plot" in the sense of the question. You can build that base plot by
hAx=axes;
view([90 90])
hAx.YLim=[-500 500];
hAx.YTick=[-250:250:500];
hAx.XLim=[0 2000];
hAx.XTick=[0:250:2000];
hAx.XDir='reverse';
box on; grid on
xlabel('X')
ylabel('Y')
presuming the x- and y- axes really are reversed and not just labelled in reverse postions as normal.
mina massoud
el 7 de Jun. de 2019
Walter Roberson
el 7 de Jun. de 2019
XDir reverse would be for high x values down to low x values, which is not the case in this plot.
The x and y axes labels are exchanged
dpb
el 7 de Jun. de 2019
That's a fignewton of the orientation when swap the axes, Walter...then you have to flip XDir to return to the expected direction visually when it's in the normal y-axis location.
Give it a try... :)
Respuestas (0)
La pregunta está cerrada.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!