how to plot fewer marker ?
7 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Umang Dongre
il 14 Mar 2019
Commentato: li weilin
il 8 Feb 2020

plot(VarName10, VarName9,'Marker','*','MarkerIndices',1:100:length(VarName9));
I tried this but it shows error
Error using plot
Invalid property found.
Object Name: line
Property Name: 'MarkerIndices'.
How to do that?
Thanks in advance!
0 Commenti
Risposta accettata
Raghunandan V
il 14 Mar 2019
Hi,
Can't you just delete a few data from VarName10?
You can write a simple code like this
VarNamePlot = VarName10;
m = length(VarNamePlot);
index = [1:m]
OddIndices = index(rem(index,2) == 1)
VarNamePlot10 = VarName10(OddIndices);
VarnamePlot9 = VarName9(OddIndices);
And then use VarNamePlot to plot . This will reduce the number of points to plot.
Or just use
plot(VarName10, VarName9, '*')
2 Commenti
Raghunandan V
il 15 Mar 2019
Oh... In that case you have to zoom in the graph.you cant do it here programatically.
Più risposte (1)
Steven Lord
il 15 Mar 2019
The MarkerIndices property was introduced in release R2016b. If you're using an older release, consider upgrading to R2016b or a later release.
1 Commento
Vedere anche
Categorie
Scopri di più su Large Files and Big Data in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!