Hi,

you need to use the geometry option. Within your program you need to  
call the plsetopt function: 
http://plplot.sourceforge.net/docbook-manual/plplot-html-5.8.0/plsetopt.html 
  .

so before plinit(); something like

plsetopt( "-geometry", "1024x800" );

or something like that.

Regards,
Werner


On 10.01.2008, at 12:28, Antonio, Fabio Di Narzo wrote:

> Hi all.
> I'm trying to use plplot for drawing png images. How can I specify the
> image size (width and height)? Is there some common method for other
> file/screen devices?
>
> I currently use the following skeleton code for my drawings:
> plsdev("png");
> plsfnam("tmp.png");
> plinit();
> ...
> plend();
>
> Bests,
> Antonio, Fabio Di Narzo.
> -- 
> Antonio, Fabio Di Narzo
> Ph.D. student at
> Department of Statistical Sciences
> University of Bologna, Italy
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> _______________________________________________
> Plplot-general mailing list
> Plplot-general@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/plplot-general

--
Dr. Werner Smekal
Institut fuer Allgemeine Physik
Technische Universitaet Wien
Wiedner Hauptstr 8-10
A-1040 Wien
Austria

email: [EMAIL PROTECTED]
web: http://www.iap.tuwien.ac.at/~smekal
phone: +43-(0)1-58801-13463 (office), +43-(0)1-58801-13469 (laboratory)
fax: +43-(0)1-58801-13499


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Plplot-general mailing list
Plplot-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-general

Reply via email to