[R] flipping a plot vertically?

François Pinard pinard at iro.umontreal.ca
Thu Jun 15 19:46:07 CEST 2006


[Tim Brown]

>This seems like an obvious question but I can't find the answer in the 
>"par" help document --- I'd like to make a plot where the 0,0 point is 
>in the top left of the screen rather than bottom left... .  [...] Any 
>suggestions?

You might retry your plot, adding an ylim=c(HIGHEST, LOWEST) argument,
that is, listing the maximum before the minimum.  For example:

   plot(1:10, ylim=c(10, 1))

-- 
François Pinard   http://pinard.progiciels-bpi.ca



More information about the R-help mailing list