Dear All, How can I store hist() or any plot output graphics in PNG format? I tried with bitmap() but not getting the result. Appreciate your help on fixing this. Thanks in Advance. Regrads, Ezhil
On 10/26/05 8:40 AM, "A Ezhil" <ezhil02 at yahoo.com> wrote:> Dear All, > > How can I store hist() or any plot output graphics in > PNG format? I tried with bitmap() but not getting the > result. Appreciate your help on fixing this.help.search('png') Or ?png Gets you the answer. png('file.png') hist(x) dev.off() Sean
?png For example: > png("c:/myplot.png") > plot(rnorm(100)) > dev.off() A Ezhil wrote:> Dear All, > > How can I store hist() or any plot output graphics in > PNG format? I tried with bitmap() but not getting the > result. Appreciate your help on fixing this. > > Thanks in Advance. > > Regrads, > Ezhil > > ______________________________________________ > R-help at 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 >-- Chuck Cleland, Ph.D. NDRI, Inc. 71 West 23rd Street, 8th floor New York, NY 10010 tel: (212) 845-4495 (Tu, Th) tel: (732) 452-1424 (M, W, F) fax: (917) 438-0894
Le 26.10.2005 14:40, A Ezhil a ??crit :>Dear All, > >How can I store hist() or any plot output graphics in >PNG format? I tried with bitmap() but not getting the >result. Appreciate your help on fixing this. > >Thanks in Advance. > >Regrads, >Ezhil > >Hi, You should try png then. ?png BTW, There is a link to png on the bitmap help page, so you were close to the target. Romain -- visit the R Graph Gallery : http://addictedtor.free.fr/graphiques +---------------------------------------------------------------+ | Romain FRANCOIS - http://francoisromain.free.fr | | Doctorant INRIA Futurs / EDF | +---------------------------------------------------------------+