Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #980
| From | sfeam <sfeam@users.sourceforge.net> |
|---|---|
| Newsgroups | comp.graphics.apps.gnuplot |
| Subject | Re: Pop-up Display Questions - Mar. 16, 2012 |
| Followup-To | comp.graphics.apps.gnuplot |
| Date | 2012-03-16 18:54 -0700 |
| Organization | gnuplot development team |
| Message-ID | <jk0qrr$1pr$1@dont-email.me> (permalink) |
| References | <ZPGdnfP2UbaI9f7SnZ2dnUVZ_hadnZ2d@earthlink.com> |
Followups directed to: comp.graphics.apps.gnuplot
E.D.G. wrote: > Question: Is there a way to get that version to display a pop-up > window with additional information when the computer mouse is moved to > some location on the screen? SVG output in the current gnuplot does that. If the mouse hovers over part of the plot, the viewer pops up a tool-tip type window with the name of the plot in it. The name is by default rather boring (e.g. "gnuplot_plot_4") but you could write a script to replace that with something more informative. > We are displaying things such as volcanos on a computer screen map. > And when the computer mouse is pointing to one of the volcanos on the > screen we would like to have a pop-up window display additional > information such as the volcano's latitude and longitude etc. All the terminal types should now put out enough information to do this in an external viewer. For example, if you make PNG plots for use on a web page you can also write out the origin + axis scaling information so that you can associate a mouse-sensitive image map that overlays the PNG image. If you are talking about what you can do while you are still in gnuplot, that's a different question. The closest to what you ask, I think, is the ability of the current generation of interactive terminals (wxt, qt, windows) to toggle plot elements on/off in response to mouse clicks. You could add to your existing plot an overlay of informative labels, then toggle that overlay on/off with the mouse. > Question: If that is not possible with 4.2, is it possible with other > versions of Gnuplot, and if so, which ones? Not possible in 4.2. Current version is 4.6, just released. happy plotting, Ethan > Question: If no version of Gnuplot can do that, can a pipe be opened > between Gnuplot and say a Perl program running in the background that > would let Gnuplot send the Perl program the computer mouse X and Y > location values?
Back to comp.graphics.apps.gnuplot | Previous | Next — Previous in thread | Next in thread | Find similar
Pop-up Display Questions - Mar. 16, 2012 "E.D.G." <edgrsprj@ix.netcom.com> - 2012-03-16 11:19 -0500
Re: Pop-up Display Questions - Mar. 16, 2012 sfeam <sfeam@users.sourceforge.net> - 2012-03-16 18:54 -0700
CGI Question - Mar. 22, 2012 "E.D.G." <edgrsprj@ix.netcom.com> - 2012-03-22 03:13 -0500
csiph-web