How can I circle plot X (a column data in excel format) as a function of Y and Z?
3 views (last 30 days)
Show older comments
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?
Accepted Answer
Walter Roberson
on 12 Dec 2012
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 Comments
Walter Roberson
on 13 Dec 2012
You already asked a question for this, http://www.mathworks.co.uk/matlabcentral/answers/56536-how-to-determine-the-different-colour-in-scatter-plot
More Answers (1)
Image Analyst
on 12 Dec 2012
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.
0 Comments
See Also
Categories
Find more on Scatter Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!