How can I circle plot X (a column data in excel format) as a function of Y and Z?

3 ビュー (過去 30 日間)
Ara
Ara 2012 年 12 月 12 日
I want to plot a trajectory of each satellite as a function of longitude and latitude. To plot this would be to use a circle for each point. I mean circle plot as a function of y and z. Each point corresponds to the location where the x (a matrix 1x170) value was determined, and the radius of the circle represent the value of x. Could be 0.1, 0.2, 0.3, 0.4, 0.5 and 0.6. Could you please help me?
  4 件のコメント
Ara
Ara 2012 年 12 月 12 日
Thank you very much, I upload here http://www.sendspace.com/file/ewdml6 Could you please look at the plot?

サインインしてコメントする。

採用された回答

Walter Roberson
Walter Roberson 2012 年 12 月 12 日
scatter(y, z, x*50)
50 here is an arbitrary scaling factor. x here is being put in the location of the circle-size argument, but that argument expects a size in points (1/72 of an inch) and as your natural x values are 0.1 or so, you will want to enlarge the circles by some magnification; I arbitrarily used 50 here.
  16 件のコメント
Ara
Ara 2012 年 12 月 13 日
編集済み: Ara 2012 年 12 月 13 日
Hi Walter, I am sorry as you guided me yesterday, but still can not plot it in different color. Could you please look at the below code? Thank you. You said 4th argument like this, but I can't match with my program?
scatter(PaskapooFm4(:,3), PaskapooFm4(:,12), [], PaskapooFm4(:,14));
PRN=data_cutoff15(:,3);
[q,u]=size(data_cutoff15);
y=zeros(31,q);
for j=1:q
for z=1:36
if z==PRN(j)
y(z,j)=s4_0(j);
end
end
end
scatter (longi, lati, s4_0(1,:)*2500,'r')
scatter (longi, lati, s4_0(2,:)*2500,'g')
scatter (longi, lati, s4_0(3,:)*2500,'b')
scatter (longi, lati, s4_0(4,:)*2500,'m')
scatter (longi, lati, s4_0(5,:)*2500,'c')

サインインしてコメントする。

その他の回答 (1 件)

Image Analyst
Image Analyst 2012 年 12 月 12 日
Your question is unclear. Do you have a plot/graph/image/axes on your GUI and you want a circle drawn around the whole thing? Perhaps the FAQ will help: http://matlab.wikia.com/wiki/FAQ#How_do_I_create_a_circle.3F Do you just want a "marker" of a circle (the letter o) around each plotted data point, like you can do with plot() or scatter()??? I have no idea.

カテゴリ

Help Center および File ExchangeScatter Plots についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by