[R] GGPLOT2 Different Layers Different X Values

2009-10-26 Thread Jonathan Bleyhl
I'm trying to plot values based on a date and then overlay a histogram also by date. The problem is that both data sets don't have exactly the same dates. So when I add the histogram, any dates that aren't already there from from the scatter plot just get tacked on at the end and are out of order.

[R] ggplot2 scale_shape question

2009-10-14 Thread Jonathan Bleyhl
Is there a way to have some points solid and some points hollow? I have two classes of points and there are so many points, that it's hard to see just the difference in shapes. I'd like to have one of the classes be hollow in addition to being a different shape. Any help would be grand. Thanks, J

Re: [R] plotting points in random but different colors based on condition

2009-10-13 Thread Jonathan Bleyhl
I guess I didn't mention that I'm trying to do this in ggplot2 where I have my color set up via: geom_point(aes(colour = Date)) Not sure how to implement your suggestion within the confines of ggplot2. Jim Lemon-2 wrote: > > On 10/10/2009 06:41 PM, Jim Lemon wrote: >> Oops, should be: > >> g

Re: [R] plotting points in random but different colors based on condition

2009-10-09 Thread Jonathan Bleyhl
On a similar note, I'm trying to plot continuous values on the y vs. categorical (dates) on the x and I want to color by date, but I want the colors to be random so points close to each other are easily distinguishable. Any thoughts? Thanks, Jon per freem-2 wrote: > > hi all, > > suppose I ha