From mark0060@tc.umn.edu  Mon Oct 21 23:57:59 2002
From: mark0060@tc.umn.edu (mark0060@tc.umn.edu)
Date: Tue, 22 Oct 2002 00:57:59 +0200 (MET DST)
Subject: png printing (PR#2193)
Message-ID: <200210212257.AAA02314@pubhealth.ku.dk>

Full_Name: Kristian Eric Markon
Version: 1.6
OS: Win 98
Submission from: (NULL) (24.26.167.90)


I noticed sort of an odd bug when I was printing out figures to png files.

It's a bit difficult to explain how to reproduce exactly, because it depends on
a lot of data specific to my situation.

Basically, if I plot the figure to the screen, it looks exactly as it should. If
I plot the figure to jpeg, it looks exactly as it should. However, if I plot it
to a png, a plot appears, but various parameters (e.g., title, ylim, etc.) are
different. 

I can sometimes reproduce something that's somewhat similar through the
following:

temp = c("hi", "hey there", "whatcha doin")

plot(rnorm(100), rnorm(100), main=temp[3]) # should appear as one would expect

jpeg("c:/temp/temp.jpeg")
plot(rnorm(100), rnorm(100), main=temp[3]) # should appear as one would expect
dev.off()

png("c:/temp/temp.png")
plot(rnorm(100), rnorm(100), main=temp[3]) # either very small or no main title
dev.off()


It gets even more complicated with the plotting I'm doing, because, e.g., rather
than plotting a figure with no title, it will plot a title, but the wrong title.

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


png printing (PR#2193)
mark0060@tc.umn.edu