s-news
[Top] [All Lists]

Re: Importing/Exporting Graphics

To: Jon Monteleone <monte@ihug.co.nz>
Subject: Re: Importing/Exporting Graphics
From: Prof Brian Ripley <ripley@stats.ox.ac.uk>
Date: Wed, 29 Oct 2003 04:36:50 +0000 (GMT)
Cc: Julie Thornton <jthornto@bio.ri.ccf.org>, <s-news@lists.biostat.wustl.edu>
In-reply-to: <016301c39da2$7e6f6c00$6501a8c0@mse>
Many of us find any route that involves bitmapped images (such as JPEG) 
unsatisfactory.  And as the P in JPEG is `photographic', JPEG is amongst 
the worst options for line figures.  I would be particularly careful with 
using a screen capture program on X11 as anti-aliasing, colour dithering 
and so on may affect the screen image.  But we were told Julie is using 
Exceed, so she needs screen capture options *on Windows*.

You will do much better to produce postscript on Unix or Windows and if
necessary bitmap that at the desired final size using GSView or PhotoShop
or ....

It is the convention on this list to copy your reply to the person on
whose message you are commenting -- although you wrote to `Julie' you
enclosed a message from me.  No sign that you actually read it, though!

On Wed, 29 Oct 2003, Jon Monteleone wrote:

> Julie,
> If you have become good at navigating through both Unix and Wintel, then you
> might take an additional leap and try the following:
> 1) Get the figure to look good in S-plus on your screen
> 2) Use a screen capture program and save the image as a jpg (dont know one
> off-hand for unix)
> 3) Touch up, i.e. resize to fit into word document, the jpg using something
> like photoshop
> 4) Import the jpg (your s-plus figure) into word
> Once you have done it a few times this method is quick and easy to use with
> the added bonus that it preserves the same view you see in s-plus!  I have
> used this method extensively for my thesis figures.
> 
> I do realize there are "built-in" figure saving options (both in the gui and
> native s calls) to export figures from s-plus, but I have been unsatisfied
> with their results.  There is also another path you could try.  Not sure if
> unix s-plus allows this, but in windows s-plus 2k (version 6?) there is an
> option in one of the drop-down menus that allows you to export your figure
> to powerpoint.  This sometimes works well, but manipulating the figure once
> in powerpoint can be cumbersome.
> 
> Hope that helps!
> Cheers -Jon
> ---
> Jonathan Monteleone (MS), j.monteleone@auckland.ac.nz
> Dept of Pharmacology & Clinical Pharmacology, School of Medicine
> 85 Park Rd, Private Bag 92019, Auckland, New Zealand
> Work phone: +64 (9) 3737599 ext 86732
> Pharmacometric Resources at
> http://www.health.auckland.ac.nz/pharmacology/staff/nholford/pkpd/pkpd.htm
> ---
> 
> ----- Original Message ----- 
> From: "Prof Brian Ripley" <ripley@stats.ox.ac.uk>
> To: "Julie Thornton" <jthornto@bio.ri.ccf.org>
> Cc: <s-news@lists.biostat.wustl.edu>
> Sent: Wednesday, October 29, 2003 10:29 AM
> Subject: Re: [S] Importing/Exporting Graphics
> 
> 
> > On Tue, 28 Oct 2003, Julie Thornton wrote:
> >
> > > I work on a PC and log into Unix using Exceed.  When I have several
> > > plots on a page, it is really difficult to put the same plot I see in
> > > the S-PLUS (Unix version) graphics windows into Word (on PC side; most
> > > investigators want to receive memos in Word).  I save them as word meta
> > > files (using wmf.graph) in S-PLUS and then insert them into Word.  I
> > > often lose numbers on my axes and the resolution is much poorer in Word.
> > >  I spend a lot of time going back and forth between operating systems to
> > > make the plots look right in Word.  The plots look extremely different
> > > in S-PLUS, Word, and even when they are printed.  Has anyone else
> > > experienced this and/or have any suggestions?  Do you think having
> > > S-PLUS on the PC side would be helpful?
> >
> > Yes, somewhat.  But the problem is that `wmf' is a proprietary
> > non-standard and Insightful's best attempts to track it (kudos to Bill
> > Dunlap) are not perfect, even on Windows.  (Pause: whichever statistical
> > package on Unix can write wmf at all?)  And `Word' can famously mangle wmf
> > that any other application can read.
> >
> > If you can, use postscript and include in `Word' docs.  If you can't, an
> > alternative route is http://www.pstoedit.net/pstoedit/ which despite its
> > website (thanks Bill Pikounis) can convert postscript to wmf on Unix on
> > Unix/Linux.  Again, not perfect.
> >
> > -- 
> > Brian D. Ripley,                  ripley@stats.ox.ac.uk
> > Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
> > University of Oxford,             Tel:  +44 1865 272861 (self)
> > 1 South Parks Road,                     +44 1865 272866 (PA)
> > Oxford OX1 3TG, UK                Fax:  +44 1865 272595
> >
> > --------------------------------------------------------------------
> > This message was distributed by s-news@lists.biostat.wustl.edu.  To
> > unsubscribe send e-mail to s-news-request@lists.biostat.wustl.edu with
> > the BODY of the message:  unsubscribe s-news
> >
> 
> --------------------------------------------------------------------
> This message was distributed by s-news@lists.biostat.wustl.edu.  To
> unsubscribe send e-mail to s-news-request@lists.biostat.wustl.edu with
> the BODY of the message:  unsubscribe s-news
> 
> 

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595


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