|
From: Thomas S. <t.s...@fz...> - 2009-12-09 10:07:59
|
the variables GPVAL_TERM_XMIN, GPVAL_TERM_XMAX, GPVAL_TERM_YMIN, GPVAL_TERM_YMAX give the corners of the graph in pixels. (you need version 4.4) together with the information in GPVAL_X_MIN, GPVAL_X_MAX, ... it should be easy to translate data point coordinates into pixels and vice-versa. the fact that there are no GPVAL_TERM_ZMIN, GPVAL_TERM_ZMAX variables indicates that the above variables are no meant for 3d-plots. ZoltánVörös wrote: > > >> >> plotting into a bitmap terminal like 'gif' and analysing the resulting >> plot file in an appropriate viewer shows that these are the coordinates >> of the graphs corners. > > Dear Thomas, > > Thanks, this I have already done, but I would like to have something > firmer. > Also, what would it mean, if I had a 3D plot, where the graph corner is > somewhat > ill-defined? Surely, there must be some conversion formula for this. I > have > tried to track it in the code, but it is not obvious where it is. > Cheers, > Zoltán > >> >> ZoltánVörös wrote: >> > >> > Dear All, >> > >> > Some time ago, four terminal variables, GPVAL_TERM_XMIN, >> GPVAL_TERM_XMAX, >> > GPVAL_TERM_YMIN, and GPVAL_TERM_YMAX were introduced, but there is not >> too >> > much >> > documentation on them. Could someone enlighten me about the meaning of >> > these, >> > and in particular, whether I can use them to convert axis coordinates >> to >> > screen >> > coordinates and vice versa? >> > Thanks, >> > Zoltán > > > ------------------------------------------------------------------------------ > Return on Information: > Google Enterprise Search pays you back > Get the facts. > http://p.sf.net/sfu/google-dev2dev > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > -- View this message in context: http://old.nabble.com/What-is-the-meaning-of-the-terminal-variables--tp26700899p26707829.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |