Re: [R] png scaling problem - solved :-)

2005-09-02 Thread Thomas Petzoldt
Yet another Windows solution without winfig: 1. Create a postscript image in R 2. Open this image in Ghostscript 3. Select a reasonable resolution using "Display Settings" in ghostscript 4. Copy the image via clipboard into your favorite image viewer (e.g. IrfanView) 5. Save the image in the requ

Re: [R] png scaling problem - solved :-)

2005-09-02 Thread Knut Krueger
Gabor Grothendieck schrieb: >I can't reproduce this problem. It works fine for me. >Some possibilities are: > >1. check which version of fig2dev you are using. If you >are on Windows I am using the fig2dev that comes in >winfgi142.zip by Andreas Schmidt found at: > > http://user.cs.tu-berl

Re: [R] png scaling problem

2005-09-02 Thread Knut Krueger
thx I will try it ... think I will be newbie in R for the next 10 jears ... And I don't know why wh choosed the only journal which don't want pdf files :-( __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do

Re: [R] png scaling problem

2005-09-02 Thread Marc Schwartz
On Fri, 2005-09-02 at 15:08 +0200, Knut Krueger wrote: > but back to the last problem, > what could be wrong that the ylab is not displayed as expected? > > with regards > Knut The TIF files seem to be OK. However, the PNG files, as a result of your attempt to scale the plot, do not have enough m

Re: [R] png scaling problem

2005-09-02 Thread Gabor Grothendieck
I can't reproduce this problem. It works fine for me. Some possibilities are: 1. check which version of fig2dev you are using. If you are on Windows I am using the fig2dev that comes in winfgi142.zip by Andreas Schmidt found at: http://user.cs.tu-berlin.de/~huluvu/WinFIG.htm Here is the v

Re: [R] png scaling problem

2005-09-02 Thread Knut Krueger
Knut Krueger schrieb: >Ok there is a second description for the file format :-( >http://authors.elsevier.com/ArtworkInstructions.html?dc=AI2 >there are pdf formats welcome but with defined conditions: > > >Maybe anybody could give me a hint to get the files in the recommendet >format. >I wil

Re: [R] png scaling problem

2005-09-02 Thread Knut Krueger
but back to the last problem, what could be wrong that the ylab is not displayed as expected? with regards Knut __ 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.

Re: [R] png scaling problem

2005-09-02 Thread Marc Schwartz
Knut, Gabor has provided a possible approach here. Your comments on using postscript make me wonder how your code looked. The following, for example, will create a 4 inch by 4 inch square plot to an encapsulated postscript file (EPS). It will also specify/include required resources for the Helvet

Re: [R] png scaling problem

2005-09-02 Thread Knut Krueger
Gabor Grothendieck schrieb: >If you have not already tried it try creating a fig file: > >xfig("myfile.fig") >plot(1:10) >dev.off() > >and then using the fig2dev utility (find it via google) to convert it to a >tiff: > >fig2dev -L tiff myfile.fig > myfile.tiff > > > Error:: fig2def: broke

Re: [R] png scaling problem

2005-09-01 Thread Gabor Grothendieck
If you have not already tried it try creating a fig file: xfig("myfile.fig") plot(1:10) dev.off() and then using the fig2dev utility (find it via google) to convert it to a tiff: fig2dev -L tiff myfile.fig > myfile.tiff On 9/2/05, Knut Krueger <[EMAIL PROTECTED]> wrote: > > > > >Probably a

Re: [R] png scaling problem

2005-09-01 Thread Knut Krueger
>Probably a better first question is, why are you using a bitmapped >graphics format if you need the image to be re-scaled? > I need a 1000 dpi tif file in a size of appr. 10 to 10 cm for applied animal behaviour science: http://authors.elsevier.com/GuideForAuthors.html?PubID=503301&dc=GFA im

Re: [R] png scaling problem

2005-09-01 Thread Marc Schwartz (via MN)
On Thu, 2005-09-01 at 21:51 +0200, Knut Krueger wrote: > scaling<-4 > xywidth<-480 > resolution<-150 > png(filename = "c:/r/anschluss/plots/4.png", width = xywidth*scaling, > height = xywidth*scaling,pointsize = 12, bg = "white", res = > resolution*scaling) > .. > > barplot(xrow,col = barcol

[R] png scaling problem

2005-09-01 Thread Knut Krueger
scaling<-4 xywidth<-480 resolution<-150 png(filename = "c:/r/anschluss/plots/4.png", width = xywidth*scaling, height = xywidth*scaling,pointsize = 12, bg = "white", res = resolution*scaling) .. barplot(xrow,col = barcolors,cex.axis=scaling, ylab="mean time till attachment in sec",cex.lab=1.