scatterm marker size - cannot change marker size for scatterm points on map (2012a)
Show older comments
I am using code written in release 2009a on a Windows 7 machine running release 2012a. The code used to allow me to plot points on a map using the scatterm function, and to change the size the points using set handle. I used to change the edgecolor property this way too.
Now, neither works. I've fixed the edgecolor property by using: set(get(handle,'Children),'Edgecolor','k') %new for 2012a
which replaced : set(handle, 'Edgecolor','k') %old, as written in 2009a
If I move the markersize property command to the same level, I get the following error:
Error using specgraph.scattergroup/set The name 'edgecolor' is not an accessible property for an instance of class 'scattergroup'.
Error in CaribSSTTrendMap_Keys (line 101) set(get(sc1,'Children'),'edgecolor','k','markersize',8);
Does anyone know a workaround for this? I'm at a loss for why markersize and edgecolor would be at different levels. Perhaps there is a new name for markersize???
Thanks, Brad
2 Comments
Brad
on 11 May 2012
Sean de Wolski
on 11 May 2012
Could you please provide a complete reproducible example?
Accepted Answer
More Answers (0)
Categories
Find more on Geographic and HD Maps 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!