s-news
[Top] [All Lists]

Re: Making a Graphsheet Page Active

To: "Walter R. Paczkowski" <dataanalytics@earthlink.net>
Subject: Re: Making a Graphsheet Page Active
From: David L Lorenz <lorenz@usgs.gov>
Date: Wed, 5 Sep 2007 08:46:18 -0500
Cc: s-news@lists.biostat.wustl.edu, s-news-owner@lists.biostat.wustl.edu
In-reply-to: <E1IRDpb-0001d0-0u@elasmtp-mealy.atl.sa.earthlink.net>

Walt,
  There was a thread related to your question a little while ago. The major conclusion was that it is not clear how to manage pages in graphsheets.
  The best advice that I can give now is to set up a graphics device that will create output files in the format that you want and not create a graph window.
Dave



"Walter R. Paczkowski" <dataanalytics@earthlink.net>
Sent by: s-news-owner@lists.biostat.wustl.edu

08/31/2007 04:18 PM

To
s-news@lists.biostat.wustl.edu
cc
Subject
[S] Making a Graphsheet Page Active





Hi,

I wrote a function that generates 50 graphs at once in one graphsheet called GSD2.  I often do this and then export the pages to PowerPoint using the Create PowerPoint option from the graph window menu.  This time, however, I wanted to export the pages in GSD2 using the export.graph function inside another function.  The problem that I have is that the export.graph function only exports the active page, which certainly may not be the page I want.  How do I activate a page programmatically inside a function so that repeated calls to export.graph will export the pages one at a time?

Thanks,

Walt Paczkowski

_________________________________

Walter R. Paczkowski, Ph.D.
Data Analytics Corp.
44 Hamilton Lane
Plainsboro, NJ  08536
(V) 609-936-8999
(F) 609-936-3733

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