On Tuesday, 25 November, 2014 10:39:11 Karl Ratzsch wrote:
> Hi,
>
> the dash patterns and pointsizes in the pdfcairo terminal are much
> denser, respectively larger than those in wxt or pngcairo. Also pdfcairo
> uses somewhat bigger font sizes (test script below). While there could
> be (are, imo) good reason to have different defaults for print (pdf) and
> on-screen (bitmap) display, this is a bit impractical with regard to the
> new pdf export button in the wxt terminal.
These terminals all use the same code internally, where "same"
literally means that all of the cairo terminals including wxt share a
single set of drawing routines.
The only differences from gnuplot's end are the canvas size, which
you are free to change, and in wxt the oversampling factor.
Any differences beyond this are due to the underlying pango/cairo libraries.
There is one additional parameter that you can tweak, fontscale, that
can partially correct for differences in canvas size. I.e., if you want to
double the physical size of the output but keep the visual effect the same,
you would probably want to set both the fontscale and the linewidth to 2.0
at the same time you increased the x and y size by a factor of two.
Ethan
>
> (That set aside, if find the default sizes in pdfcairo somewhat mismatched?)
>
> Should there perhaps be a "compatible" flag for terminals, that makes
> sizes, margins etc. match a common standard?
>
> And it´d be great if wxt (like pngcairo) accepted sizes in cm/inches, so
> the paper size of an exported pdf can be easily controlled.
>
> Karl
>
>
> $test << EOD
> 1 1
> 2 3
> 3 2
> 4 4
> EOD
>
> set xr [0:5];set yr [0:6]
>
> set term wxt
>
> plot $test w p ps 2, $test us 1:($2+1) w l lw 2 dt 2
>
> set term pdfcairo
> set out "test.pdf"
> replot
>
> set term pngcairo
> set out "test.png"
> replot
> set out
>
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
> _______________________________________________
> gnuplot-beta mailing list
> gnu...@li...
> Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-beta
>
|