From: Sebastian P. <spc...@gm...> - 2009-02-12 20:33:21
|
Hello When I resize manually plot window, all points in the plotting function become much bigger, even if I'm acctualy decreasing the size of the window. When I'm sizing window again the points remain with incorrect size. It can be seen in "test" window also. Is it a bug in windows terminal? Here is what the "effect": http://bayimg.com/BaNLhAabI sys: Windows xp pro sp3 gnuplot: svn Sebastian Pająk |
From: Ethan M. <merritt@u.washington.edu> - 2009-02-12 20:56:12
|
On Thursday 12 February 2009 12:33:16 Sebastian Pająk wrote: > Hello > > When I resize manually plot window, all points in the plotting > function become much bigger, even if I'm acctualy decreasing the size > of the window. When I'm sizing window again the points remain with > incorrect size. It can be seen in "test" window also. Is it a bug in > windows terminal? The points are drawn at an arbitrary size, and you cannot expect that size to be consistent across terminals. Furthermore, the size of the point itself is independent of the current size of the canvas (I think, anyhow, it is possible that there are some terminal types for which this is not true). There are two alternatives which give you more control over the scaling of the plotting symbols, allowing the size to be on some absolute scale relative to the plot axes or to the canvas size. 4.2 or 4.3: Use "with labels" rather than "with points", and control the size of the symbol by changing the font size. An extreme example is here: http://skuld.bmsc.washington.edu/people/merritt/gnuplot/index.html#variable_label_size 4.3 only: Use "plot ... with circles", which allows you to give the radius of each circle in either axis coordinates or absolute sizes. Demo here: http://gnuplot.sourceforge.net/demo_4.3/circles.html -- Ethan A Merritt |
From: Sebastian P. <spc...@gm...> - 2009-02-12 21:28:02
|
I don't get it. Why point size cannot be fixed? The line weight can be set and it is const. even when resizing window, but the size of the point is totally ignored!? Points should be autoscaled or at least they should keep fixed size. In Gnuplot their size is impredictable. Another win term bug? 2009/2/12 Ethan Merritt <merritt@u.washington.edu>: > On Thursday 12 February 2009 12:33:16 Sebastian Pająk wrote: >> Hello >> >> When I resize manually plot window, all points in the plotting >> function become much bigger, even if I'm acctualy decreasing the size >> of the window. When I'm sizing window again the points remain with >> incorrect size. It can be seen in "test" window also. Is it a bug in >> windows terminal? > > The points are drawn at an arbitrary size, and you cannot expect > that size to be consistent across terminals. Furthermore, the > size of the point itself is independent of the current size of the > canvas (I think, anyhow, it is possible that there are some terminal > types for which this is not true). > > There are two alternatives which give you more control over the > scaling of the plotting symbols, allowing the size to be on some > absolute scale relative to the plot axes or to the canvas size. > > 4.2 or 4.3: > Use "with labels" rather than "with points", and control the size > of the symbol by changing the font size. An extreme example is > here: > http://skuld.bmsc.washington.edu/people/merritt/gnuplot/index.html#variable_label_size > > 4.3 only: > Use "plot ... with circles", which allows you to give the radius of > each circle in either axis coordinates or absolute sizes. > Demo here: > http://gnuplot.sourceforge.net/demo_4.3/circles.html > > > -- > Ethan A Merritt > |
From: Ethan M. <merritt@u.washington.edu> - 2009-02-12 23:34:32
|
On Thursday 12 February 2009 13:27:58 Sebastian Pająk wrote: > I don't get it. Why point size cannot be fixed? The line weight can be > set and it is const. even when resizing window, but the size of the > point is totally ignored!? I do not understand what you are saying. In fact the line weight and the point size behave identically. Both are arbitrary (line weight in terminal A may not match line weight in terminal B). > Points should be autoscaled or at least they should keep fixed size. Some terminals do autoscale the points. Other terminals cannot scale them and so they remain a fixed size. This is a limitation of not all output devices having the same properties. > In Gnuplot their size is impredictable. > Another win term bug? Not a bug. The point symbol sizes are arbitrary for all terminals. In many cases gnuplot has no control over the size at all. For instance, the older pen plotter and character cell devices simply offer some fixed number of point symbols, and gnuplot sends the command "use the third symbol, whatever it is". That is why I suggested to use one of the newer options that do indeed scale in a predictable way. > 2009/2/12 Ethan Merritt <merritt@u.washington.edu>: > > On Thursday 12 February 2009 12:33:16 Sebastian Pająk wrote: > >> Hello > >> > >> When I resize manually plot window, all points in the plotting > >> function become much bigger, even if I'm acctualy decreasing the size > >> of the window. When I'm sizing window again the points remain with > >> incorrect size. It can be seen in "test" window also. Is it a bug in > >> windows terminal? > > > > The points are drawn at an arbitrary size, and you cannot expect > > that size to be consistent across terminals. Furthermore, the > > size of the point itself is independent of the current size of the > > canvas (I think, anyhow, it is possible that there are some terminal > > types for which this is not true). > > > > There are two alternatives which give you more control over the > > scaling of the plotting symbols, allowing the size to be on some > > absolute scale relative to the plot axes or to the canvas size. > > > > 4.2 or 4.3: > > Use "with labels" rather than "with points", and control the size > > of the symbol by changing the font size. An extreme example is > > here: > > http://skuld.bmsc.washington.edu/people/merritt/gnuplot/index.html#variable_label_size > > > > 4.3 only: > > Use "plot ... with circles", which allows you to give the radius of > > each circle in either axis coordinates or absolute sizes. > > Demo here: > > http://gnuplot.sourceforge.net/demo_4.3/circles.html > > > > > > -- > > Ethan A Merritt > > > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > 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: Petr M. <mi...@ph...> - 2009-02-12 22:18:52
|
> When I resize manually plot window, all points in the plotting function become much bigger, even if I'm acctualy decreasing the size of the window. When I'm sizing window again the points remain with incorrect size. It can be seen in "test" window also. Is it a bug in windows terminal? Hit "e" hotkey or type "replot" to replot the window. --- PM |