Page 1 of 1

[SOLVED] Proportional representation

PostPosted: Wed Mar 05, 2014 1:28 pm
by jedimacdonald
Hi, I'm a relative newbie to RGeoS, but have been most impressed so far by its functionality and flexibility for kriging procedures and in computing spatial indices. I have two very basic questions regarding proportional representation plots that I hope you can help me with...

Firstly, I'd like to add a legend to a proportional bubble plot representing fisheries catch data, but can't seem to find a simple solution for customizing both the number of circles in the legend or for scaling the circles to the appropriate size to match those in the proportional plot. I've been playing around with the pos.legend argument, but it doesn't appear to allow much room for customization for bubble plots (see Fig. 1 below). I know I can use the 'legend' function to add an appropriate legend manually (see Fig. 2), but wonder if Is there a way around this within RGeoS?

Secondly, is there code in RGeoS to add symbols for zero values to a proportional bubble plot?

Thanks in advance!
Jed

Fig. 1.jpeg
Fig. 1.jpeg (123.15 KiB) Viewed 20422 times


Fig. 2.jpeg
Fig. 2.jpeg (125 KiB) Viewed 20422 times

Re: Proportional representation

PostPosted: Fri Mar 14, 2014 9:30 pm
by Didier Renard
Sorry for this long delay.

Following your post, I revisited the different legend functions, called internally.
Now they all call the function legend() (from R) and therefore benefit from its arguments.
This will be available in the next version 9.1.11 which will be published soon.

Re: Proportional representation

PostPosted: Mon Mar 17, 2014 10:34 am
by jedimacdonald
Great! Thanks Didier.

Re: Proportional representation

PostPosted: Mon Mar 17, 2014 10:49 am
by Nicolas Desassis
Dear Jed,

can I consider this problem as solved?

Re: Proportional representation

PostPosted: Thu Mar 20, 2014 12:58 am
by jedimacdonald
You can Nicolas.

Thanks again,
Jed