How do I set limits using the geobubble function?

7 views (last 30 days)
I would like to use the geo bubble function but only plot bubbles within a certain range, in other words I would like to see my own limits in the legend (different from min and max of my data set).
Here is my code:
geobubble(Lat, Long, Cell counts);
title('Cell concentration (Cells/mL) in Maunalua Bay') %add
I would like to set the limits to the following, but can't figure out how to apply it to my plot. It always plots using the Cell count min and max as default in the legend.
size_limits = ([200000 800000])
Does anyone know if its possible to set the limits in the geobubble fuction, or do I need to manipulate my data set?
  1 Comment
darova on 3 Dec 2019
The script doesn't work. It says:
Undefined function or variable 'Lat'.

Sign in to comment.

Answers (1)

John R
John R on 23 Jul 2020


Find more on Geographic 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!

Translated by