[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gnuplot: set terminal png
From: |
Henry F. Mollet |
Subject: |
Re: gnuplot: set terminal png |
Date: |
Tue, 09 Aug 2005 10:18:23 -0700 |
User-agent: |
Microsoft-Entourage/11.1.0.040913 |
Thank you. How can I use a vector based format (e.g. PDF) on a webpage
instead of a GIF, PNG, or JPEG? I'd like the file to be displayed within an
html page, not downloaded as a PDF.
Henry
on 8/9/05 4:50 AM, Przemek Klosowski at address@hidden wrote:
>
> printing. Size of pdf was 52 kB and surprisingly? increased to 132 kB for
> png file.
>
> Not surprising at all---scientific graphics is mostly vector-based
> (lines, meshes and such) so it can be represented well in vector-based
> graphics languages, like Postscript, PDF, SVG, or even HPGL. Each line
> can be described by four numbers (coordinates of its endpoints);
> colored areas are efficiently described in terms of their enclosing
> polygons.
>
> When translated into bitmap-based graphics formats like GIF, PNG,
> JPEG, etc, it is bound to increase in size: lines and polygons have to
> be decomposed into pixels, and every last pixel of the image has to be
> specified. Even with compression, this is almost always more information.
>
> Moreover, to get nice printed image you need high resolution (printers
> nowadays are 600 or 1200 pixels per inch, or up to 134 megapixels per
> page). The vector-based formats are nice because they display well at
> screen resolutions (72 dots per inch) as well as rendering precise,
> sharp printouts at 1200 dpi.
>
>
>
> -------------------------------------------------------------
> Octave is freely available under the terms of the GNU GPL.
>
> Octave's home on the web: http://www.octave.org
> How to fund new projects: http://www.octave.org/funding.html
> Subscription information: http://www.octave.org/archive.html
> -------------------------------------------------------------
>
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------