|
From: Benjamin L. <lin...@gm...> - 2009-08-31 18:46:01
|
Hello list, In a current 4.3.0 build the emf terminal scales the point size with the terminal size. This is contrary to what other terminals e.g. png or ps do. Testcase: set pointsize 2 set term emf size 512,384 set output "test512x384.emf" plot [0:2*pi] sin(x) with linespoints set term emf size 1024,768 set output "test1024x768.emf" plot [0:2*pi] sin(x) with linespoints set term post size 16cm,12cm set output "test16x12.ps" plot [0:2*pi] sin(x) with linespoints set term post size 8cm,6cm set output "test8x6.ps" plot [0:2*pi] sin(x) with linespoints set term png size 512,384 set output "test512x384.png" plot [0:2*pi] sin(x) with linespoints set term png size 1024,768 set output "test1024x768.png" plot [0:2*pi] sin(x) with linespoints set output The pointsize in "test1024x768.emf" is visibly larger than in "test512x384.emf", even if one scales both terminals to 100% of their size. As the linewidth or the fontsize are independent of the actual terminal size, so I think should the point size be. benjamin |
|
From: Ethan M. <merritt@u.washington.edu> - 2009-08-31 19:12:08
|
On Monday 31 August 2009 11:45:39 Benjamin Lindner wrote: > Hello list, > > In a current 4.3.0 build the emf terminal scales the point size with the > terminal size. > This is contrary to what other terminals e.g. png or ps do. I think it's more complicated than that. Various terminals do various things. Some have a fixed point size (particularly the old plotter drivers where the points are drawn via a hardware function). Some scale by terminal size. Some (as I recall) scale by font size. It seems a reasonable goal to have all the drivers do the same thing, but before making any changed I'd like first to see a list of which terminals do what right now and how many of them can be easily modified to match a common convention for the behaviour. Ethan > Testcase: > set pointsize 2 > > set term emf size 512,384 > set output "test512x384.emf" > plot [0:2*pi] sin(x) with linespoints > > set term emf size 1024,768 > set output "test1024x768.emf" > plot [0:2*pi] sin(x) with linespoints > > set term post size 16cm,12cm > set output "test16x12.ps" > plot [0:2*pi] sin(x) with linespoints > > set term post size 8cm,6cm > set output "test8x6.ps" > plot [0:2*pi] sin(x) with linespoints > > set term png size 512,384 > set output "test512x384.png" > plot [0:2*pi] sin(x) with linespoints > > set term png size 1024,768 > set output "test1024x768.png" > plot [0:2*pi] sin(x) with linespoints > > set output > > > The pointsize in "test1024x768.emf" is visibly larger than in > "test512x384.emf", even if one scales both terminals to 100% of their size. > As the linewidth or the fontsize are independent of the actual terminal > size, so I think should the point size be. > > benjamin > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > gnuplot-beta mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-beta > -- Ethan A Merritt Biomolecular Structure Center University of Washington, Seattle 98195-7742 |
|
From: Benjamin L. <lin...@gm...> - 2009-08-31 19:30:21
|
Ethan Merritt wrote: > On Monday 31 August 2009 11:45:39 Benjamin Lindner wrote: >> Hello list, >> >> In a current 4.3.0 build the emf terminal scales the point size with the >> terminal size. >> This is contrary to what other terminals e.g. png or ps do. > > I think it's more complicated than that. > Various terminals do various things. > Some have a fixed point size (particularly the old plotter drivers where > the points are drawn via a hardware function). > Some scale by terminal size. > Some (as I recall) scale by font size. > > It seems a reasonable goal to have all the drivers do the same thing, > but before making any changed I'd like first to see a list of which terminals > do what right now and how many of them can be easily modified to match > a common convention for the behaviour. > Well to start the list, I can provide: term | scale ps with term size? | scale ps with font size? -------------------------------------------------------------- emf yes no png no no gif no no jpeg no no ps no no eps no no benjamin |