Re: [R] plot to postscript orientation

2007-08-03 Thread Uwe Ligges


Miruna Petrescu-Prahova wrote:
  Hi
 
  I am trying to save some plots in a postscript file. When I generate the 
 plots in the main window, they appear correctly - their orientation is 
 landscape (i.e., horizontal). However, when I open the .ps file with GSview, 
 the whole page appears vertically, and the plot appears horizontally, which 
 means that the plot is only partially visible (example here 
 https://webfiles.uci.edu/mpetresc/postscript.files/default.ps ). I searched 
 the R-help mailing list archive and found 2 suggestions: setting the width 
 and height and setting horizontal = FALSE. I have tried setting the width 
 and height but it makes no difference. I have also tried using horizontal = 
 FALSE. This rotates and elongates the plot, but it is still displayed 
 horizontally on a vertical page, and so only partially  visible (example 
 here https://webfiles.uci.edu/mpetresc/postscript.files/horiz.false.ps). I 
 am not sure what is wrong. Plots are created with filled.contour.


I guess this is a misconfiguration of your GSview. The plots are fine 
for me. Anyway, you might also want to set the argument
paper=special in the postscript() call.

Uwe Ligges


  Thanks
  Miruna
 
 
 
 Miruna Petrescu-Prahova
 Department of Sociology
 University of California, Irvine
 [EMAIL PROTECTED]
 
 __
 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.

__
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.


Re: [R] plot to postscript orientation

2007-08-03 Thread Vorlow Constantinos
Hi,

My vanilla code works fine... 

See also attached .eps file (seperate email sent directly to you)

 r-rnorm(100)
 postscript(figure.eps)
 plot.ts(r)
 dev.off()

Also this works ok as you have been told already:

 paper=special in the postscript() call.

If you see my eps file wrongly then your GSVIEW setup is wrong. 

Choose Orientation Auto and under Options (bottom half)
click-select-tick everything except Ignore DSC.

That should do the trick...

Costas

Miruna Petrescu-Prahova wrote:

 Hi

 

 I am trying to save some plots in a postscript file. When I generate
the 

 plots in the main window, they appear correctly - their orientation is


 landscape (i.e., horizontal). However, when I open the .ps file with
GSview, 

 the whole page appears vertically, and the plot appears horizontally,
which 

 means that the plot is only partially visible (example here 

 https://webfiles.uci.edu/mpetresc/postscript.files/default.ps
https://webfiles.uci.edu/mpetresc/postscript.files/default.ps  ). I
searched 

 the R-help mailing list archive and found 2 suggestions: setting the
width 

 and height and setting horizontal = FALSE. I have tried setting the
width 

 and height but it makes no difference. I have also tried using
horizontal = 

 FALSE. This rotates and elongates the plot, but it is still displayed


 horizontally on a vertical page, and so only partially visible
(example 

 here https://webfiles.uci.edu/mpetresc/postscript.files/horiz.false.ps
https://webfiles.uci.edu/mpetresc/postscript.files/horiz.false.ps ). I


 am not sure what is wrong. Plots are created with filled.contour.

 

I guess this is a misconfiguration of your GSview. The plots are fine 

for me. Anyway, you might also want to set the argument

paper=special in the postscript() call.

Uwe Ligges

 

 Thanks

 Miruna

 

 

 

 Miruna Petrescu-Prahova

 Department of Sociology

 University of California, Irvine

 [EMAIL PROTECTED]

 

 __

 R-help@stat.math.ethz.ch mailing list

 https://stat.ethz.ch/mailman/listinfo/r-help
https://stat.ethz.ch/mailman/listinfo/r-help 

 PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
http://www.r-project.org/posting-guide.html 

 and provide commented, minimal, self-contained, reproducible code.

 
---
Costas Vorlow
Research Economist
Eurobank EFG
Division of Research  Forecasting

---
tel: +30-210-3337273 (ext 17273)
fax: +30-210-3337687




P Think before you print.

Disclaimer:
This e-mail is confidential. If you are not the intended recipient, you should 
not copy it, re-transmit it, use it or disclose its contents, but should return 
it to the sender immediately and delete the copy from your system.
EFG Eurobank Ergasias S.A. is not responsible for, nor endorses, any opinion, 
recommendation, conclusion, solicitation, offer or agreement or any information 
contained in this communication.
EFG Eurobank Ergasias S.A. cannot accept any responsibility for the accuracy or 
completeness of this message as it has been transmitted over a public network. 
If you suspect that the message may have been intercepted or amended, please 
call the sender.


[[alternative HTML version deleted]]

__
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.


Re: [R] plot to postscript orientation

2007-08-03 Thread Prof Brian Ripley
Do you have the Orientation menu set to 'Auto'?
The effect described seems that if 'Rotate media' is selected, which it 
should not be.

The files look fine to me in GSView 4.8 on Windows and other viewers on 
Linux.  I agree with Uwe that it is a viewer issue (most reported 
postscript/PDF are).

On Fri, 3 Aug 2007, John Kane wrote:


 I seem to see the same problem that Miruna gets just
 to confirm that it is not just her set-up.

 I'm using GSview4.8 if that helps

 --- Uwe Ligges [EMAIL PROTECTED]
 wrote:




 Miruna Petrescu-Prahova wrote:
  Hi

  I am trying to save some plots in a postscript
 file. When I generate the
 plots in the main window, they appear correctly -
 their orientation is
 landscape (i.e., horizontal). However, when I open
 the .ps file with GSview,
 the whole page appears vertically, and the plot
 appears horizontally, which
 means that the plot is only partially visible
 (example here


 https://webfiles.uci.edu/mpetresc/postscript.files/default.ps
 ). I searched
 the R-help mailing list archive and found 2
 suggestions: setting the width
 and height and setting horizontal = FALSE. I have
 tried setting the width
 and height but it makes no difference. I have also
 tried using horizontal =
 FALSE. This rotates and elongates the plot, but
 it is still displayed
 horizontally on a vertical page, and so only
 partially  visible (example
 here

 https://webfiles.uci.edu/mpetresc/postscript.files/horiz.false.ps).
 I
 am not sure what is wrong. Plots are created with
 filled.contour.


 I guess this is a misconfiguration of your GSview.
 The plots are fine
 for me. Anyway, you might also want to set the
 argument
 paper=special in the postscript() call.

 Uwe Ligges


  Thanks
  Miruna


 
 Miruna Petrescu-Prahova
 Department of Sociology
 University of California, Irvine
 [EMAIL PROTECTED]

 __
 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.

 __
 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.


 __
 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.


-- 
Brian D. Ripley,  [EMAIL PROTECTED]
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, UKFax:  +44 1865 272595

__
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.


Re: [R] plot to postscript orientation

2007-08-03 Thread John Kane

I seem to see the same problem that Miruna gets just
to confirm that it is not just her set-up.  

I'm using GSview4.8 if that helps

--- Uwe Ligges [EMAIL PROTECTED]
wrote:


 
 
 Miruna Petrescu-Prahova wrote:
   Hi
  
   I am trying to save some plots in a postscript
 file. When I generate the 
  plots in the main window, they appear correctly -
 their orientation is 
  landscape (i.e., horizontal). However, when I open
 the .ps file with GSview, 
  the whole page appears vertically, and the plot
 appears horizontally, which 
  means that the plot is only partially visible
 (example here 
 

https://webfiles.uci.edu/mpetresc/postscript.files/default.ps
 ). I searched 
  the R-help mailing list archive and found 2
 suggestions: setting the width 
  and height and setting horizontal = FALSE. I have
 tried setting the width 
  and height but it makes no difference. I have also
 tried using horizontal = 
  FALSE. This rotates and elongates the plot, but
 it is still displayed 
  horizontally on a vertical page, and so only
 partially  visible (example 
  here

https://webfiles.uci.edu/mpetresc/postscript.files/horiz.false.ps).
 I 
  am not sure what is wrong. Plots are created with
 filled.contour.
 
 
 I guess this is a misconfiguration of your GSview.
 The plots are fine 
 for me. Anyway, you might also want to set the
 argument
 paper=special in the postscript() call.
 
 Uwe Ligges
 
 
   Thanks
   Miruna
  
  
  
  Miruna Petrescu-Prahova
  Department of Sociology
  University of California, Irvine
  [EMAIL PROTECTED]
  
  __
  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.
 
 __
 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.


__
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.


Re: [R] plot to postscript orientation

2007-08-03 Thread John Kane
I don't know about for Miruna but it does not work for
me.

I  tried 
postscript (figure.eps, paper=letter)

http://ca.geocities.com/jrkrideau/R/eps.figure.pdf
 
postscript(figure.eps, paper=special, width=5,
height=4)

with similaar same results.

Interstingly enough figure.eps imports completely into
Word but rotated 90 degrees as Miruna noted.  

Where are you finding the Options for Auto? I don't
see them.

john

--- Vorlow Constantinos [EMAIL PROTECTED] wrote:

 Hi,
 
 My vanilla code works fine... 
 
 See also attached .eps file (seperate email sent
 directly to you)
 
  r-rnorm(100)
  postscript(figure.eps)
  plot.ts(r)
  dev.off()
 
 Also this works ok as you have been told already:
 
  paper=special in the postscript() call.
 
 If you see my eps file wrongly then your GSVIEW
 setup is wrong. 
 
 Choose Orientation Auto and under Options (bottom
 half)
 click-select-tick everything except Ignore DSC.
 
 That should do the trick...
 
 Costas
 
 Miruna Petrescu-Prahova wrote:
 
  Hi
 
  
 
  I am trying to save some plots in a postscript
 file. When I generate
 the 
 
  plots in the main window, they appear correctly -
 their orientation is
 
 
  landscape (i.e., horizontal). However, when I open
 the .ps file with
 GSview, 
 
  the whole page appears vertically, and the plot
 appears horizontally,
 which 
 
  means that the plot is only partially visible
 (example here 
 
 

https://webfiles.uci.edu/mpetresc/postscript.files/default.ps

https://webfiles.uci.edu/mpetresc/postscript.files/default.ps
  ). I
 searched 
 
  the R-help mailing list archive and found 2
 suggestions: setting the
 width 
 
  and height and setting horizontal = FALSE. I have
 tried setting the
 width 
 
  and height but it makes no difference. I have also
 tried using
 horizontal = 
 
  FALSE. This rotates and elongates the plot, but
 it is still displayed
 
 
  horizontally on a vertical page, and so only
 partially visible
 (example 
 
  here

https://webfiles.uci.edu/mpetresc/postscript.files/horiz.false.ps

https://webfiles.uci.edu/mpetresc/postscript.files/horiz.false.ps
 ). I
 
 
  am not sure what is wrong. Plots are created with
 filled.contour.
 
  
 
 I guess this is a misconfiguration of your GSview.
 The plots are fine 
 
 for me. Anyway, you might also want to set the
 argument
 
 paper=special in the postscript() call.
 
 Uwe Ligges
 
  
 
  Thanks
 
  Miruna
 
  
 
  
 
  
 
  Miruna Petrescu-Prahova
 
  Department of Sociology
 
  University of California, Irvine
 
  [EMAIL PROTECTED]
 
  
 
  __
 
  R-help@stat.math.ethz.ch mailing list
 
  https://stat.ethz.ch/mailman/listinfo/r-help
 https://stat.ethz.ch/mailman/listinfo/r-help 
 
  PLEASE do read the posting guide
 http://www.R-project.org/posting-guide.html
 http://www.r-project.org/posting-guide.html 
 
  and provide commented, minimal, self-contained,
 reproducible code.
 
  

---
 Costas Vorlow
 Research Economist
 Eurobank EFG
 Division of Research  Forecasting
 

---
 tel: +30-210-3337273 (ext 17273)
 fax: +30-210-3337687
 
 
 
 
 P Think before you print.
 
 Disclaimer:
 This e-mail is confidential. If you are not the
 intended recipient, you should not copy it,
 re-transmit it, use it or disclose its contents, but
 should return it to the sender immediately and
 delete the copy from your system.
 EFG Eurobank Ergasias S.A. is not responsible for,
 nor endorses, any opinion, recommendation,
 conclusion, solicitation, offer or agreement or any
 information contained in this communication.
 EFG Eurobank Ergasias S.A. cannot accept any
 responsibility for the accuracy or completeness of
 this message as it has been transmitted over a
 public network. If you suspect that the message may
 have been intercepted or amended, please call the
 sender.
 
 
   [[alternative HTML version deleted]]
 
 __
 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.


__
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.


Re: [R] plot to postscript orientation

2007-08-03 Thread Miruna Petrescu-Prahova
None of the suggestions work for me, either. I see Costas's plot just like 
mine, i.e., incorrectly. I tried modifying the Orientation to Auto, 
selecting all the Options, and using paper=special. It does not work. I am 
using GSView 4.8 under Windows.

Miruna


- Original Message - 
From: John Kane [EMAIL PROTECTED]
To: Vorlow Constantinos [EMAIL PROTECTED]; [EMAIL PROTECTED]
Cc: r-help@stat.math.ethz.ch
Sent: Friday, August 03, 2007 11:40 AM
Subject: Re: [R] plot to postscript orientation


I don't know about for Miruna but it does not work for
 me.

 I  tried
 postscript (figure.eps, paper=letter)

 http://ca.geocities.com/jrkrideau/R/eps.figure.pdf
 
 postscript(figure.eps, paper=special, width=5,
 height=4)

 with similaar same results.

 Interstingly enough figure.eps imports completely into
 Word but rotated 90 degrees as Miruna noted.

 Where are you finding the Options for Auto? I don't
 see them.

 john

 --- Vorlow Constantinos [EMAIL PROTECTED] wrote:

 Hi,

 My vanilla code works fine...

 See also attached .eps file (seperate email sent
 directly to you)

  r-rnorm(100)
  postscript(figure.eps)
  plot.ts(r)
  dev.off()

 Also this works ok as you have been told already:

  paper=special in the postscript() call.

 If you see my eps file wrongly then your GSVIEW
 setup is wrong.

 Choose Orientation Auto and under Options (bottom
 half)
 click-select-tick everything except Ignore DSC.

 That should do the trick...

 Costas

 Miruna Petrescu-Prahova wrote:

  Hi

 

  I am trying to save some plots in a postscript
 file. When I generate
 the

  plots in the main window, they appear correctly -
 their orientation is


  landscape (i.e., horizontal). However, when I open
 the .ps file with
 GSview,

  the whole page appears vertically, and the plot
 appears horizontally,
 which

  means that the plot is only partially visible
 (example here

 

 https://webfiles.uci.edu/mpetresc/postscript.files/default.ps

 https://webfiles.uci.edu/mpetresc/postscript.files/default.ps
  ). I
 searched

  the R-help mailing list archive and found 2
 suggestions: setting the
 width

  and height and setting horizontal = FALSE. I have
 tried setting the
 width

  and height but it makes no difference. I have also
 tried using
 horizontal =

  FALSE. This rotates and elongates the plot, but
 it is still displayed


  horizontally on a vertical page, and so only
 partially visible
 (example

  here

 https://webfiles.uci.edu/mpetresc/postscript.files/horiz.false.ps

 https://webfiles.uci.edu/mpetresc/postscript.files/horiz.false.ps
 ). I


  am not sure what is wrong. Plots are created with
 filled.contour.



 I guess this is a misconfiguration of your GSview.
 The plots are fine

 for me. Anyway, you might also want to set the
 argument

 paper=special in the postscript() call.

 Uwe Ligges



  Thanks

  Miruna

 

 

  

  Miruna Petrescu-Prahova

  Department of Sociology

  University of California, Irvine

  [EMAIL PROTECTED]

 

  __

  R-help@stat.math.ethz.ch mailing list

  https://stat.ethz.ch/mailman/listinfo/r-help
 https://stat.ethz.ch/mailman/listinfo/r-help

  PLEASE do read the posting guide
 http://www.R-project.org/posting-guide.html
 http://www.r-project.org/posting-guide.html

  and provide commented, minimal, self-contained,
 reproducible code.



 ---
 Costas Vorlow
 Research Economist
 Eurobank EFG
 Division of Research  Forecasting


 ---
 tel: +30-210-3337273 (ext 17273)
 fax: +30-210-3337687




 P Think before you print.

 Disclaimer:
 This e-mail is confidential. If you are not the
 intended recipient, you should not copy it,
 re-transmit it, use it or disclose its contents, but
 should return it to the sender immediately and
 delete the copy from your system.
 EFG Eurobank Ergasias S.A. is not responsible for,
 nor endorses, any opinion, recommendation,
 conclusion, solicitation, offer or agreement or any
 information contained in this communication.
 EFG Eurobank Ergasias S.A. cannot accept any
 responsibility for the accuracy or completeness of
 this message as it has been transmitted over a
 public network. If you suspect that the message may
 have been intercepted or amended, please call the
 sender.


 [[alternative HTML version deleted]]

 __
 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.




  Ask a question on any topic and get answers from real people. Go to 



__
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

Re: [R] plot to postscript orientation-update

2007-08-03 Thread John Kane
Follow-up 

I seem to have manged to get the eps file to work
using:
 
postscript(C:/temp/figure.eps, horizontal=F,
paper=special, height=8, width=8, pointsize=12)

Exactly why I'm not sure since I just copied some old
code that I had used a year or so ago.
--- Vorlow Constantinos [EMAIL PROTECTED] wrote:

 Hi,
 
 My vanilla code works fine... 
 
 See also attached .eps file (seperate email sent
 directly to you)
 
  r-rnorm(100)
  postscript(figure.eps)
  plot.ts(r)
  dev.off()
 
 Also this works ok as you have been told already:
 
  paper=special in the postscript() call.
 
 If you see my eps file wrongly then your GSVIEW
 setup is wrong. 
 
 Choose Orientation Auto and under Options (bottom
 half)
 click-select-tick everything except Ignore DSC.
 
 That should do the trick...
 
 Costas
 
 Miruna Petrescu-Prahova wrote:
 
  Hi
 
  
 
  I am trying to save some plots in a postscript
 file. When I generate
 the 
 
  plots in the main window, they appear correctly -
 their orientation is
 
 
  landscape (i.e., horizontal). However, when I open
 the .ps file with
 GSview, 
 
  the whole page appears vertically, and the plot
 appears horizontally,
 which 
 
  means that the plot is only partially visible
 (example here 
 
 

https://webfiles.uci.edu/mpetresc/postscript.files/default.ps

https://webfiles.uci.edu/mpetresc/postscript.files/default.ps
  ). I
 searched 
 
  the R-help mailing list archive and found 2
 suggestions: setting the
 width 
 
  and height and setting horizontal = FALSE. I have
 tried setting the
 width 
 
  and height but it makes no difference. I have also
 tried using
 horizontal = 
 
  FALSE. This rotates and elongates the plot, but
 it is still displayed
 
 
  horizontally on a vertical page, and so only
 partially visible
 (example 
 
  here

https://webfiles.uci.edu/mpetresc/postscript.files/horiz.false.ps

https://webfiles.uci.edu/mpetresc/postscript.files/horiz.false.ps
 ). I
 
 
  am not sure what is wrong. Plots are created with
 filled.contour.
 
  
 
 I guess this is a misconfiguration of your GSview.
 The plots are fine 
 
 for me. Anyway, you might also want to set the
 argument
 
 paper=special in the postscript() call.
 
 Uwe Ligges
 
  
 
  Thanks
 
  Miruna
 
  
 
  
 
  
 
  Miruna Petrescu-Prahova
 
  Department of Sociology
 
  University of California, Irvine
 
  [EMAIL PROTECTED]
 
  
 
  __
 
  R-help@stat.math.ethz.ch mailing list
 
  https://stat.ethz.ch/mailman/listinfo/r-help
 https://stat.ethz.ch/mailman/listinfo/r-help 
 
  PLEASE do read the posting guide
 http://www.R-project.org/posting-guide.html
 http://www.r-project.org/posting-guide.html 
 
  and provide commented, minimal, self-contained,
 reproducible code.
 
  

---
 Costas Vorlow
 Research Economist
 Eurobank EFG
 Division of Research  Forecasting
 

---
 tel: +30-210-3337273 (ext 17273)
 fax: +30-210-3337687
 
 
 
 
 P Think before you print.
 
 Disclaimer:
 This e-mail is confidential. If you are not the
 intended recipient, you should not copy it,
 re-transmit it, use it or disclose its contents, but
 should return it to the sender immediately and
 delete the copy from your system.
 EFG Eurobank Ergasias S.A. is not responsible for,
 nor endorses, any opinion, recommendation,
 conclusion, solicitation, offer or agreement or any
 information contained in this communication.
 EFG Eurobank Ergasias S.A. cannot accept any
 responsibility for the accuracy or completeness of
 this message as it has been transmitted over a
 public network. If you suspect that the message may
 have been intercepted or amended, please call the
 sender.
 
 
   [[alternative HTML version deleted]]
 
 __
 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.


__
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.


Re: [R] plot to postscript orientation-update

2007-08-03 Thread Miruna Petrescu-Prahova
Well, it seems that having a square page works...If you modify the width or 
height so that they are not equal, it goes back to the same problem. I guess 
this is good enough for now.

Miruna

- Original Message - 
From: John Kane [EMAIL PROTECTED]
To: Vorlow Constantinos [EMAIL PROTECTED]; [EMAIL PROTECTED]
Cc: r-help@stat.math.ethz.ch
Sent: Friday, August 03, 2007 11:52 AM
Subject: Re: [R] plot to postscript orientation-update


 Follow-up

 I seem to have manged to get the eps file to work
 using:

 postscript(C:/temp/figure.eps, horizontal=F,
 paper=special, height=8, width=8, pointsize=12)

 Exactly why I'm not sure since I just copied some old
 code that I had used a year or so ago.
 --- Vorlow Constantinos [EMAIL PROTECTED] wrote:

 Hi,

 My vanilla code works fine...

 See also attached .eps file (seperate email sent
 directly to you)

  r-rnorm(100)
  postscript(figure.eps)
  plot.ts(r)
  dev.off()

 Also this works ok as you have been told already:

  paper=special in the postscript() call.

 If you see my eps file wrongly then your GSVIEW
 setup is wrong.

 Choose Orientation Auto and under Options (bottom
 half)
 click-select-tick everything except Ignore DSC.

 That should do the trick...

 Costas

 Miruna Petrescu-Prahova wrote:

  Hi

 

  I am trying to save some plots in a postscript
 file. When I generate
 the

  plots in the main window, they appear correctly -
 their orientation is


  landscape (i.e., horizontal). However, when I open
 the .ps file with
 GSview,

  the whole page appears vertically, and the plot
 appears horizontally,
 which

  means that the plot is only partially visible
 (example here

 

 https://webfiles.uci.edu/mpetresc/postscript.files/default.ps

 https://webfiles.uci.edu/mpetresc/postscript.files/default.ps
  ). I
 searched

  the R-help mailing list archive and found 2
 suggestions: setting the
 width

  and height and setting horizontal = FALSE. I have
 tried setting the
 width

  and height but it makes no difference. I have also
 tried using
 horizontal =

  FALSE. This rotates and elongates the plot, but
 it is still displayed


  horizontally on a vertical page, and so only
 partially visible
 (example

  here

 https://webfiles.uci.edu/mpetresc/postscript.files/horiz.false.ps

 https://webfiles.uci.edu/mpetresc/postscript.files/horiz.false.ps
 ). I


  am not sure what is wrong. Plots are created with
 filled.contour.



 I guess this is a misconfiguration of your GSview.
 The plots are fine

 for me. Anyway, you might also want to set the
 argument

 paper=special in the postscript() call.

 Uwe Ligges



  Thanks

  Miruna

 

 

  

  Miruna Petrescu-Prahova

  Department of Sociology

  University of California, Irvine

  [EMAIL PROTECTED]

 

  __

  R-help@stat.math.ethz.ch mailing list

  https://stat.ethz.ch/mailman/listinfo/r-help
 https://stat.ethz.ch/mailman/listinfo/r-help

  PLEASE do read the posting guide
 http://www.R-project.org/posting-guide.html
 http://www.r-project.org/posting-guide.html

  and provide commented, minimal, self-contained,
 reproducible code.



 ---
 Costas Vorlow
 Research Economist
 Eurobank EFG
 Division of Research  Forecasting


 ---
 tel: +30-210-3337273 (ext 17273)
 fax: +30-210-3337687




 P Think before you print.

 Disclaimer:
 This e-mail is confidential. If you are not the
 intended recipient, you should not copy it,
 re-transmit it, use it or disclose its contents, but
 should return it to the sender immediately and
 delete the copy from your system.
 EFG Eurobank Ergasias S.A. is not responsible for,
 nor endorses, any opinion, recommendation,
 conclusion, solicitation, offer or agreement or any
 information contained in this communication.
 EFG Eurobank Ergasias S.A. cannot accept any
 responsibility for the accuracy or completeness of
 this message as it has been transmitted over a
 public network. If you suspect that the message may
 have been intercepted or amended, please call the
 sender.


 [[alternative HTML version deleted]]

 __
 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.




  Ask a question on any topic and get answers from real people. Go to 



__
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.


[R] plot to postscript orientation

2007-08-02 Thread Miruna Petrescu-Prahova
 Hi

 I am trying to save some plots in a postscript file. When I generate the 
plots in the main window, they appear correctly - their orientation is 
landscape (i.e., horizontal). However, when I open the .ps file with GSview, 
the whole page appears vertically, and the plot appears horizontally, which 
means that the plot is only partially visible (example here 
https://webfiles.uci.edu/mpetresc/postscript.files/default.ps ). I searched 
the R-help mailing list archive and found 2 suggestions: setting the width 
and height and setting horizontal = FALSE. I have tried setting the width 
and height but it makes no difference. I have also tried using horizontal = 
FALSE. This rotates and elongates the plot, but it is still displayed 
horizontally on a vertical page, and so only partially  visible (example 
here https://webfiles.uci.edu/mpetresc/postscript.files/horiz.false.ps). I 
am not sure what is wrong. Plots are created with filled.contour.

 Thanks
 Miruna



Miruna Petrescu-Prahova
Department of Sociology
University of California, Irvine
[EMAIL PROTECTED]

__
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.