|
From: Petr M. <mi...@ph...> - 2013-08-22 11:14:07
|
Hello Ethan,
> Log Message:
> Mousing hotkeys i/v/V to toggle multiple plots on or off
> RCS file: /cvsroot/gnuplot/gnuplot/src/mouse.c,v
please change the sequence of bind associations to group V/v/i together:
bind_append("h", (char *) 0, builtin_help);
bind_append("i", (char *) 0, builtin_invert_plot_visibilities);
bind_append("l", (char *) 0, builtin_toggle_log);
bind_append("L", (char *) 0, builtin_nearest_log);
bind_append("m", (char *) 0, builtin_toggle_mouse);
bind_append("r", (char *) 0, builtin_toggle_ruler);
bind_append("V", (char *) 0, builtin_set_plots_invisible);
bind_append("v", (char *) 0, builtin_set_plots_visible);
bind_append("i", (char *) 0, builtin_invert_plot_visibilities);
Actually I think that one key would be enough (the invert one) as hotkeys are
hit by the user, not by the script or piping program - there is also just one
key for toggling grid, log, ruler, ...
In order to achieve this functionality from command line, a command like
set plot visibility {on|off|invert}
similarly to
set mouse ruler at 1,1
set mouse noruler
I propose to have only "v" key to invert the visibility and the "set plot"
command.
---
PM
|