|
From: Joseph G. <jos...@ya...> - 2016-07-30 07:32:50
|
The idea is to get user input, do some calculations and use the result on a plot, right?If you use R then there are demos here on how to do that:
CRAN - Package Rgnuplot
|
| |
CRAN - Package Rgnuplot
| |
|
For Python, C, shell scripts, etc there is similar stuff online.
Sometimes the calculations are too complex or the data has to be prepared before the plot, fortunately gnuplot is very easy to be called from any language or environment.
From: theozh <th...@gm...>
To: gnu...@li...
Sent: Friday, July 29, 2016 4:11 PM
Subject: [Gnuplot-info] Interactive user input with gnuplot
Is there a way in gnuplot to interactively enter a few values, i.e.
numbers and strings?
The idea is to enable users which are not familiar with gnuplot and do
not want to (are not able to or should not) edit a gnuplot script to
generate plots which require a few custom values which are then stored
in user variables for further use in the script.
The command "pause" allows some very limited user input
pause mouse keypress "Type a letter"
# Returning the ASCII value of the key pressed in MOUSE_KEY
or
pause -1 "Hit a key to continue"
But I am looking for a simple popup window, e.g. like:
+------------------+
| Sample: ....... |
| Start: ....... |
| Stop: ....... |
| |
| OK Cancel |
+------------------+
Any ways to achieve this?
------------------------------------------------------------------------------
_______________________________________________
gnuplot-info mailing list
gnu...@li...
Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info
|