Hi community, I am ploting a figure and i want to center the figure in the plot

2 次查看(过去 30 天)
When i plot my figure it apears like a little dot with gigantic scales, I want that when the plot opens up, it opens exactly where the figure is. Here is the example:
plot(d(:,1),d(:,2),'.')
d = 1.0e+03 *
0.0010 0
0.0010 -0.0000
0.0010 -0.0000
0.0010 -0.0000
0.0010 -0.0000
0.0010 -0.0000
0.0010 -0.0000
0.0010 -0.0000
0.0010 -0.0000
0.0010 -0.0000
0.0010 -0.0000
0.0010 -0.0000
0.0010 -0.0000
0.0010 -0.0000
0.0010 -0.0000
0.0010 -0.0000
0.0010 -0.0000
0.0010 -0.0000
0.0009 -0.0000
0.0009 -0.0000
0.0009 -0.0000
0.0009 -0.0000
0.0009 -0.0000
0.0009 0.0000
0.0009 0.0000
0.0009 0.0000
0.0009 0.0000
0.0009 0.0000
0.0009 0.0000
0.0009 0.0000
0.0009 0.0000
0.0009 0.0000
0.0008 0.0000
0.0008 0.0000
0.0008 0.0000
0.0008 0.0000
0.0008 0.0000
0.0008 0.0000
0.0008 0.0000
0.0008 0.0000
0.0008 0.0000
0.0008 0.0000
0.0007 0.0000
0.0007 -0.0000
0.0007 -0.0000
0.0007 -0.0000
0.0007 -0.0000
0.0007 -0.0000
0.0007 -0.0000
0.0007 -0.0000
0.0007 -0.0000
0.0006 -0.0000
0.0006 -0.0000
0.0006 -0.0000
0.0006 -0.0000
0.0006 -0.0000
0.0006 -0.0000
0.0006 -0.0000
0.0006 -0.0000
0.0005 -0.0000
0.0005 -0.0000
0.0005 -0.0000
0.0005 -0.0000
0.0005 -0.0000
0.0005 -0.0000
0.0005 -0.0000
0.0005 -0.0000
0.0004 -0.0000
0.0004 -0.0000
0.0004 -0.0000
0.0004 -0.0000
0.0004 -0.0000
0.0004 -0.0000
0.0004 -0.0000
0.0004 -0.0000
0.0003 -0.0000
0.0003 -0.0000
0.0003 -0.0000
0.0003 -0.0000
0.0003 -0.0000
0.0003 -0.0000
0.0003 -0.0000
0.0003 -0.0000
0.0003 -0.0000
0.0002 -0.0000
0.0002 -0.0000
0.0002 -0.0000
0.0002 -0.0000
0.0002 -0.0000
0.0002 -0.0000
0.0002 -0.0000
0.0002 -0.0000
0.0002 -0.0000
0.0002 -0.0000
0.0001 -0.0000
0.0001 -0.0000
0.0001 -0.0000
0.0001 -0.0000
0.0001 -0.0000
0.0001 -0.0000
0.0001 -0.0000
0.0001 -0.0000
0.0001 -0.0000
0.0001 -0.0000
0.0001 -0.0000
0.0001 -0.0000
0.0001 -0.0000
0.0001 -0.0000
0.0000 -0.0000
0.0000 -0.0000
0.0000 -0.0000
0.0000 -0.0000
0.0000 -0.0000
0.0000 -0.0000
0.0000 -0.0000
0.0000 -0.0000
0.0000 -0.0000
0.0000 -0.0000
0.0000 -0.0000
0.0000 -0.0000
0.0000 -0.0000
0.0000 -0.0000
0.0000 -0.0000
0.0000 -0.0000
0.0000 -0.0000
0 0
0.0000 0.0000
0.0000 0.0000
0.0000 0.0000
0.0000 0.0000
0.0000 0.0000
0.0000 0.0000
0.0000 0.0000
0.0000 0.0000
0.0000 0.0000
0.0000 0.0000
0.0000 0.0000
0.0000 0.0000
0.0000 0.0000
0.0000 0.0000
0.0000 0.0000
0.0000 0.0000
0.0000 0.0000
0.0000 0.0000
0.0001 0.0000
0.0001 0.0000
0.0001 0.0000
0.0001 0.0000
0.0001 0.0000
0.0001 0.0000
0.0001 0.0000
0.0001 0.0000
0.0001 0.0000
0.0001 0.0000
0.0001 0.0000
0.0001 0.0000
0.0001 0.0000
0.0002 0.0000
0.0002 0.0000
0.0002 0.0000
0.0002 0.0000
0.0002 0.0000
0.0002 0.0000
0.0002 0.0000
0.0002 0.0000
0.0002 0.0000
0.0002 0.0000
0.0003 0.0000
0.0003 0.0000
0.0003 0.0000
0.0003 0.0000
0.0003 0.0000
0.0003 0.0000
0.0003 0.0000
0.0003 0.0000
0.0003 0.0000
0.0004 0.0000
0.0004 0.0000
0.0004 0.0000
0.0004 0.0000
0.0004 0.0000
0.0004 0.0000
0.0004 0.0000
0.0004 0.0000
0.0005 0.0000
0.0005 0.0000
0.0005 0.0000
0.0005 0.0000
0.0005 0.0000
0.0005 0.0000
0.0005 0.0000
0.0005 0.0000
0.0006 0.0000
0.0006 0.0000
0.0006 0.0000
0.0006 0.0000
0.0006 0.0000
0.0006 0.0000
0.0006 0.0000
0.0006 0.0000
0.0007 0.0000
0.0007 0.0000
0.0007 0.0000
0.0007 0.0000
0.0007 0.0000
0.0007 0.0000
0.0007 0.0000
0.0007 0.0000
0.0007 0.0000
0.0008 0.0000
0.0008 0.0000
0.0008 0.0000
0.0008 0.0000
0.0008 0.0000
0.0008 0.0000
0.0008 0.0000
0.0008 0.0000
0.0008 0.0000
0.0008 0.0000
0.0009 0.0000
0.0009 0.0000
0.0009 0.0000
0.0009 0.0000
0.0009 0.0000
0.0009 0.0000
0.0009 0.0000
0.0009 0.0000
0.0009 0.0000
0.0009 0.0000
0.0009 0.0000
0.0009 0.0000
0.0009 0.0000
0.0009 0.0000
0.0010 0.0000
0.0010 0.0000
0.0010 0.0000
0.0010 0.0000
0.0010 0.0000
0.0010 0.0000
0.0010 0.0000
0.0010 0.0000
0.0010 0.0000
0.0010 0.0000
0.0010 0.0000
0.0010 0.0000
0.0010 0.0000
0.0010 0.0000
0.0010 0.0000
0.0010 0.0000
0.0010 0.0000
0.0010 0
9.9619 0.8716

采纳的回答

Image Analyst
Image Analyst 2014-4-5
What's up with the last value? It's like 10,000 times as big as any of the other values. So all your values are crammed into a microscopic area near the origin because it has to expand the axes to be able to show your last value of d. Are you sure that's how you want to do it? If that value is not there, it does plot stuff you can see.

更多回答(1 个)

Azzi Abdelmalek
Azzi Abdelmalek 2014-4-5
编辑:Azzi Abdelmalek 2014-4-5
Just use
plot(d(:,1),d(:,2))
  4 个评论

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Airfoil tools 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by