I'm trying to change marker size in a graph
11 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I'm trying to change marker size in a graph but i keep getting this error and dot know how to fix it
0 Commenti
Risposte (1)
VBBV
il 6 Nov 2022
markerSize_types = 12;
4 Commenti
Walter Roberson
il 7 Nov 2022
markerSize_types = 1:5;
Note that Marker Size default is 6 so Marker Size 1 is pretty small.
VBBV
il 7 Nov 2022
Modificato: VBBV
il 7 Nov 2022
markerSize_types = randi([1 12],10) % define range of markersize
[r c] = size(markerSize_types);
random_index = randi([1 r*c],1) % randomly inditialize value
random_markerSize = markerSize_types(random_index) % pick the value using index from type vector
Vedere anche
Categorie
Scopri di più su MATLAB Compiler 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!