Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #680

Re: Hiding/displaying "with labels" labels?

From sfeam <sfeam@users.sourceforge.net>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: Hiding/displaying "with labels" labels?
Followup-To comp.graphics.apps.gnuplot
Date 2011-11-09 16:57 -0800
Organization gnuplot development team
Message-ID <j9f7h7$s3v$1@dont-email.me> (permalink)
References <8739e542je.fsf@wivenhoe.ul.ie> <j8uhn8$2qq$1@dont-email.me> <87lirx2kv9.fsf@wivenhoe.ul.ie>

Followups directed to: comp.graphics.apps.gnuplot

Show all headers | View raw


Brendan Halpin wrote:

> On Thu, Nov 03 2011, sfeam wrote:
> 
>> Interesting idea. The thing is that currently "mouseover" is only
>> available in the context of a web browser.  The wxt and x11
>> terminals do not offer any way to trigger a mouse event other than
>> clicking.
> 
> Clicking would be fine. Clicking on a point and getting info about it
> (beyond its x,y,z coordinates) would be exactly what I need.

The development version of gnuplot (4.5) now supports toggling plots
on/off in the wxt terminal, similar to the toggling code added recently
for the canvas and svg terminal output.  That should enable your first
scenario (toggle a complete set of labels on/off), but does not allow
clicking on individual points.

Just to pursue this idea a bit further...
Are you envisioning a variant of the existing command?
   "plot ... with labels point <pointtype>"
The point symbols would always be shown, but the attached labels
would appear only when the mouse was clicked on that point?
I think the pieces are now in place that would allow supporting this
for the same terminals (svg, canvas, wxt, win) as toggling the entire
plot on/off.

Do you think it would be more useful to have the label appear right
next to the point (as it normally would) or in a separate box at the 
bottom of the plot?
  

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious in thread | Find similar


Thread

Hiding/displaying "with labels" labels? brendan.halpin@ul.ie (Brendan Halpin) - 2011-11-03 16:02 +0000
  Re: Hiding/displaying "with labels" labels? sfeam <sfeam@users.sourceforge.net> - 2011-11-03 10:06 -0700
    Re: Hiding/displaying "with labels" labels? brendan.halpin@ul.ie (Brendan Halpin) - 2011-11-03 17:09 +0000
      Re: Hiding/displaying "with labels" labels? sfeam <sfeam@users.sourceforge.net> - 2011-11-09 16:57 -0800

csiph-web