Plot Marker - can it be alphabetical?
Show older comments
Hi,
I want to use alphabetical markers in the plot function. Intuitively one may write the command like this:
plot(x,y,'A')
This doesn't work of course, as 'A' is not in the default marker list.
How can I define other then default markers in the plot function?
Thanks, Marina.
2 Comments
Marina Delac
on 13 Oct 2011
Fangjun Jiang
on 13 Oct 2011
Certainly my answer is not meant to be the "right" solution, but what do you mean your two remaining issues?
%%
x=1:10;
ya=1:10;
yb=10:-1:1;
figure;hold on;grid on;
plot(x,ya,'r');text(x,ya,'A');
plot(x,yb,'b');text(x,yb,'B');
legend({'A','B'});
axis([-5 15 -5 15]);
Accepted Answer
More Answers (0)
Categories
Find more on 2-D and 3-D Plots in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!