Hello! I am trying to merge two xy-plot with different ylimits. Can someone please give me possible way of achieving it.. Thank you Regards Dimple [[alternative HTML version deleted]]
generate the plot with the limit of both ranges and then add the second with 'lines' plot(x1,y1,ylim=range(y1, y2)) lines(x2,y2) On Wed, Aug 19, 2009 at 6:24 PM, dimple thyagarajan<calldimple at yahoo.com> wrote:> Hello! > > I am trying to merge two?xy-plot with different ylimits. > > Can someone please give me possible way of achieving it.. > > Thank you > Regards > Dimple > > > > ? ? ? ?[[alternative HTML version deleted]] > > > ______________________________________________ > R-help at r-project.org 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. > >-- Jim Holtman Cincinnati, OH +1 513 646 9390 What is the problem that you are trying to solve?
On Aug 19, 2009, at 6:24 PM, dimple thyagarajan wrote:> Hello! > > I am trying to merge two xy-plot with different ylimits. > > Can someone please give me possible way of achieving it..You cannot possibly be using a function named xy-plo. The particular function you have chosen will be critical to an appropriate answer. In all likelihood, the approach will be to plot with ylimits set by the maximum and minimum of the combined set of values. It's possible that the plotting function will allow group arguments. Beyond that it is hard to be of further help without an example and specifics. Note: An informative subject line is requested by the Posting Guide.> > Thank you > Regards > Dimple >David Winsemius, MD Heritage Laboratories West Hartford, CT
dimple thyagarajan wrote:> Hello! > > I am trying to merge two xy-plot with different ylimits. >It seems that you are using lattice graphics (which you do not mention), if so, look at the documentation of xyplot, specifically to the panel argument. cheers, Paul> > Can someone please give me possible way of achieving it.. > > Thank you > Regards > Dimple > > > > [[alternative HTML version deleted]] > > > ------------------------------------------------------------------------ > > ______________________________________________ > R-help at r-project.org 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. >-- Drs. Paul Hiemstra Department of Physical Geography Faculty of Geosciences University of Utrecht Heidelberglaan 2 P.O. Box 80.115 3508 TC Utrecht Phone: +3130 274 3113 Mon-Tue Phone: +3130 253 5773 Wed-Fri http://intamap.geo.uu.nl/~paul
Apparently Analagous Threads
- The results of your email commands
- How do I ensure that the minimum value is always displayed on a y-axis in a plot?
- Lattice: useOuterStrips and axes
- panel.first problem when plotting with formula
- Can someone please explain why the last tick mark on this chart is not showing?