Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #979 > unrolled thread
| Started by | "E.D.G." <edgrsprj@ix.netcom.com> |
|---|---|
| First post | 2012-03-16 11:19 -0500 |
| Last post | 2012-03-22 03:13 -0500 |
| Articles | 3 — 2 participants |
Back to article view | Back to comp.graphics.apps.gnuplot
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
| From | "E.D.G." <edgrsprj@ix.netcom.com> |
|---|---|
| Date | 2012-03-16 11:19 -0500 |
| Subject | Pop-up Display Questions - Mar. 16, 2012 |
| Message-ID | <ZPGdnfP2UbaI9f7SnZ2dnUVZ_hadnZ2d@earthlink.com> |
POP-UP DISPLAY QUESTION
Posted by E.D.G. on March 16, 2012
Several of us are using an older version of Gnuplot (4.2) to work
with other language computer programs in order to create drawings. That
older version is presently being used because the download package only
needs to contain 2 Gnuplot files.
I went through the documentation for 4.2 but could not find an answer
for the following questions.
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?
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.
Question: If that is not possible with 4.2, is it possible with other
versions of Gnuplot, and if so, which ones?
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?
[toc] | [next] | [standalone]
| From | sfeam <sfeam@users.sourceforge.net> |
|---|---|
| Date | 2012-03-16 18:54 -0700 |
| Message-ID | <jk0qrr$1pr$1@dont-email.me> |
| In reply to | #979 |
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?
[toc] | [prev] | [next] | [standalone]
| From | "E.D.G." <edgrsprj@ix.netcom.com> |
|---|---|
| Date | 2012-03-22 03:13 -0500 |
| Subject | CGI Question - Mar. 22, 2012 |
| Message-ID | <9pmdnQd6oIeLQvfSnZ2dnUVZ_t2dnZ2d@earthlink.com> |
| In reply to | #980 |
"sfeam" <sfeam@users.sourceforge.net> wrote in message
news:jk0qrr$1pr$1@dont-email.me...
Posted by E.D.G. on March 22, 2012
Thanks for the information.
This is a multiple persons project and it can take some time to make
one complete loop of all of the project sections and get back to addressing
Newsgroup posts such as this one.
Questions:
It sounds from some of the documentation like gnuplot might be used
as a CGI program at a Web site so that png files can be created and stored
at the site. Is that correct?
If so then where can information be found regarding how to get
gnuplot organized for doing that?
The project several of us are presently working on involves preparing
computer programs that are scheduled to eventually be translated into CGI
programs for use at a Web site. Since gnuplot is being used with the
present computer programs to generate charts, if it can also be used at a
Web site then we might try getting a Web page created for doing that so that
we can get a startup version of the actual Web page running with all of the
needed data input screens etc.
For the PC versions of the Web site CGI programs we will probably use
Xampp with our programs and gnuplot.
If gnuplot cannot be used for CGI work then we will eventually need
to use some other program to generate our png files at the Web site. That
is not expected to be a problem. But it will take some additional research.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.graphics.apps.gnuplot
csiph-web