s-news
[Top] [All Lists]

Re: guiPlot in functions

To: Spencer Graves <spencer.graves@pdf.com>, "David L Lorenz" <lorenz@usgs.gov>
Subject: Re: guiPlot in functions
From: "W. Bauer" <bauerwo@gmx.net>
Date: Tue, 21 Oct 2003 22:25:01 +0200
Cc: s-news@lists.biostat.wustl.edu, s-news-owner@lists.biostat.wustl.edu
In-reply-to: <OFE8836F7D.392255D2-ON86256DC6.0044429E@cr.usgs.gov>
Hi David

>   I suggest the use of DataSetValues in this case. You do not need to
> assign or remove the data set because the DataSetValues options embeds the
> data.  Your function call should look like:
> 
> guiPlot("Line",DataSetValues=myplot.data.frame[,c(1,2)])


That solves the problem, thank you very much. The behavior of 
guiPlot when the option DataSet is used is very unpredictable: using 
inspect(myplot(A1)), it works fine; without inspect, the plot looks 
weird.

The reason I want to use guiPlot is that I want to combine plots on a 
graph, as described in the Programmer's Guide, p.293. I guess this 
cannot be done using plot.

Best regards, Wolfgang Bauer

<Prev in Thread] Current Thread [Next in Thread>