[R] lattice: axis ticks, axis alignment and remove axis from plot

Katharina May may.katharina at googlemail.com
Thu Jun 18 13:31:45 CEST 2009


Hi Jim,

thanks, that sounds like a good idea!
The only problem is that axis and pos are a far as I know not for
lattice or at least I
cannot find an appropriate function and way to do this in lattice.
Maybe I have to keep on searching for how to realize that with lattice...

Best wishes,
           Katharina



2009/6/18 Jim Lemon <jim at bitwrit.com.au>:
> Katharina May wrote:
>>
>> What I sort of looking for is a xyplot with both the x axis at the bottom
>> and y axis at the
>> left going through 0, but continuing  in the positive and negative area
>> (forming a kind of cross
>> like e.g.
>>
>> http://upload.wikimedia.org/wikipedia/commons/thumb/2/2c/Erf_plot.svg/600px-Erf_plot.svg.png
>>
>> I'm not sure if this possible at all or if I just have to add to reference
>> lines at x=0 and y =0 as a
>> workaround even though not fully satisfying...?
>>
>
> Hi Katharina,
> I'm not sure if you can do this in lattice, but if you do the original plot
> with axes=FALSE, you can specify where the x and y axis are placed with the
> pos= argument.
>
> Jim
>
>



-- 
Time flies like an arrow, fruit flies like bananas.




More information about the R-help mailing list