How can I make a scatter plot with different markers ?
Show older comments
Hi;
I want to make a scatter plot with different markers for the attached .txt file?
I want to show the three values in one graphic with for example "circle", "rectangular" and "diamond" as a scatter plot.
Could you please help me about Matlab code for this graphic?
Thanks a lot..
Accepted Answer
More Answers (1)
Stijn Haenen
on 19 May 2020
Edited: Stijn Haenen
on 19 May 2020
maybe somthing like this:
symbol_list=['*';'+';'o';'<'];
for i=1:4
scatter(x(:,i),y(:,i),symbol_list(i))
hold on
end
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!