Re: [R] Looking for parallel functionality between Matlab and R El-ad David Amir wrote:
> I'm slowly moving my statistical analysis from Matlab to R, and find myself
> missing two features:
> 
> a) How do I mimic Matlab's 'hold on'? (I want to show several plots
> together, when I type two plots one after the other the second overwrites
> the first)
> b) How do I mimic Matlab's 'axis'? (after drawing my plots I want to zoom on
> specific parts- for example, x=0:5, y=0:20).
> 
I think what you want for a) is par(ask=TRUE).

There have been a few discussions of zooming on the help list - see:

http://stats.math.uni-augsburg.de/iPlots/index.shtml

for one solution.

Jim

______________________________________________
R-help@stat.math.ethz.ch mailing list
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.

