Re: [R] How to access the attributes of a ggplot?

2008-04-08 Thread Tribo Laboy
Hi Hadley, Thanks for replying. I know that I can directly modify some of the properties of the plot object, but I was more interested in querying the current plot properties, something like: xlimits - getggopts(pobj, x_scale_limits) Is there anything like this implemented? I tried to drill

Re: [R] How to access the attributes of a ggplot?

2008-04-08 Thread hadley wickham
Thanks for replying. I know that I can directly modify some of the properties of the plot object, but I was more interested in querying the current plot properties, something like: xlimits - getggopts(pobj, x_scale_limits) Is there anything like this implemented? Ah, that's much more

Re: [R] How to access the attributes of a ggplot?

2008-04-07 Thread hadley wickham
Hi Tribo, I found 'ggopts', but it only returns some of the properties. Say I want to get the x- and y-axis limits, the tickmark locations, legend current position, the legend box and background color and set them to new values. Are these properties easily accessible (and modifiable)

[R] How to access the attributes of a ggplot?

2008-04-04 Thread Tribo Laboy
Hi, I am having some hard time figuring how to access (and modify) the properties of an object created by ggplot. I found 'ggopts', but it only returns some of the properties. Say I want to get the x- and y-axis limits, the tickmark locations, legend current position, the legend box and