Dear Dennis, it would be better if not plotting the lon and lat. Keeping it 
blank is better for the aesthetics of my map.
I am not sure how I can give a reproducible example herebut I want to  
   ggmap(mp, darken = 0) + geom_point(aes(Longitude, Latitude, 
colour=Divergence), data = PlotPoints, size =10)+
 scale_colour_gradient2(low=muted("red"),mid="green", high=muted("blue"),trans 
="log")+geom_point(aes(Longitude,Latitude),size=15,data=stationaryPoint,colour="Red",shape="X",size=15)
 log10(seq(1,20,length.out=100))
to make the color scale with fixed colors (0.3 for green for example) and 
increase it in size so the numbers in the bar are still visible when the figure 
is getting smaller in size
RegardsAlex

    On Friday, November 20, 2015 11:02 PM, Dennis Murphy <djmu...@gmail.com> 
wrote:
 

 Hi Alex:

The documentation for ggmap tells you that its x-y coordinates are
lat-long. What did you want to plot instead?

There are several theme options for legends, as well as a few more in
the guide_legend() function. As far as the color scale, you should be
able to set it with hex codes in each map.

Since there is no reproducible example with which to work, I can't
really help/comment much further. If you come up with one, please post
it back to the group so that others can see it. Some of them have more
experience with mapping in ggplot2 than I do.

Dennis

On Thu, Nov 19, 2015 at 8:45 PM, Alaios <ala...@yahoo.com> wrote:
> dear Dennis,
> thanks for your answers.
> I have changed my code to look like
>
>    ggmap(mp, darken = 0) + geom_point(aes(Longitude, Latitude, colour
> =Divergence), data = PlotPoints, size =10)+
> scale_colour_gradient2(low=muted("red"),mid="green",
> high=muted("blue"),trans =
> "log")+geom_point(aes(Longitude,Latitude),size=15,data=stationaryPoint,colour="Red",shape="X",size=15)#
> log10(seq(1,20,length.out=100))
>
>
> current issues:
> -ggmap : plots the coordinates (longitudes and latitudes like x and y
> labels), which I do not want to do
> -Increase font size in the color bar
> -the color scale as it is now is totally fine, it is more that I want to
> make the colors there fixed, since different maps have slightly different
> numbers printed there (not much but that hinders comparisons between the
> maps).
>
> I would like to thank you for your support
> Regards
> Alex
>
>
>
> On Thursday, November 19, 2015 7:13 PM, Dennis Murphy <djmu...@gmail.com>
> wrote:
>
>
> Let's try this again....sorry for hitting Send inadvertently.
>
> On Thu, Nov 19, 2015 at 5:09 AM, Alaios via R-help <r-help@r-project.org>
> wrote:
>> Dear all,the following line of code
>> print me a map of an area with the points I need. I only new two minor
>> adjustments
>>    ggmap(mp, darken = 0) + geom_point(aes(Longitude, Latitude, colour
>> =Error), data = PlotPoints, size = 6)+
>> scale_colour_gradient2(low=muted("red"),mid="green",
>> high=muted("blue"),trans =
>> "log")+geom_point(aes(Longitude,Latitude),data=stationaryPoint,colour="Red",shape="s",size=12)
>>
>> I want to specify my color ramp to have the specific scale
>> 0,000010,040,130,4
>
> You can specify the hex codes for colors in any of the scale_colour*()
> functions.
>>
>> I also want to plot in a way where the fonts will be binger and the
>> legends as well.Any ideas how I can do that?
>
> See ?theme.
>
> Dennis
>
>
>
>> I would like to thank you for your reply
>> RegardsAlex
>>
>>
>>        [[alternative HTML version deleted]]
>>
>> ______________________________________________
>> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide
>> http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
>
>


  
        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to