hi , every one , can i find help to do this , thank you
情報
この質問は閉じられています。 編集または回答するには再度開いてください。
古いコメントを表示
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 件のコメント
dpb
2019 年 6 月 7 日
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
2019 年 6 月 7 日
Walter Roberson
2019 年 6 月 7 日
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
2019 年 6 月 7 日
Walter Roberson
2019 年 6 月 7 日
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
2019 年 6 月 7 日
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... :)
回答 (0 件)
この質問は閉じられています。
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!