disberd / gnuplot-cpp

Automatically exported from code.google.com/p/gnuplot-cpp
0 stars 0 forks source link

Error when zooming #8

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Plot some data
2. Right click on plot to create zoom box

What is the expected output? What do you see instead?

From a gnuplot script with the x11 window, right clicking should create a box 
which zooms in on the plot. Instead the gnuplot interpreter errors. 

Example: 
Just plotting sin(x) gives me

plot sin(x) title "f(x) = sin(x)" with linesr[0.0124240021147:0.536875495638]; 
set x2r[-7.05945:-1.74612]; set y2r[ 0.0124164: 0.536545]

"linesr[...]" is not a valid plotting command, so the program does not zoom and 
breaks.

What version of the product are you using? On what operating system?

v1.0 on linux x86_46

Original issue reported on code.google.com by s.r.walk...@gmail.com on 11 Aug 2010 at 2:00

GoogleCodeExporter commented 9 years ago
If the viewer of the plot presses the 'e' key (replot) before zooming, the 
behaviour is as expected

Original comment by s.r.walk...@gmail.com on 11 Aug 2010 at 2:21

GoogleCodeExporter commented 9 years ago

Original comment by ettl.mar...@gmail.com on 23 Aug 2014 at 8:25