You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, thank you for this very useful package!
So, I had this idea, but I really don't know how hard it would be to implement or if it is desirable.
But what about a gnuplot> REPL mode (mainly to pass setting commands to gnuplot)? Similar to shell mode or Pkg3.jl's pkg REPL mode.
I believe this would be really helpful for those already familiar with gnuplot.
Ideally one would be able to do:
julia> using Gaston
julia> a =rand(10);
julia> :# upon typing : (or whichever character is decided), the prompt changes (in place) to: gnuplot>
gnuplot> set logscale x
gnuplot> set key bottom left
gnuplot> set xtics 1,1,12 nomirror
# press backspace to exit gnuplot REPL mode
julia> plot(a)
The text was updated successfully, but these errors were encountered:
I would like to implement this, but I don't know how to implement the custom REPL mode (sending the commands to gnuplot is easy). If a PR implementing this is made, I'll accept it. Otherwise, I'll put it on my todo list and get it done -- someday :)
BTW, and just in case you're not aware of it, you can do something similar right now with the gpcom ("gnuplot command") option to plot, which allows you to specify commands to run before plotting:
using Gaston
a = rand(10);
plot(a, gpcom="set logscale x; set key bottom left; set xtics 1,1,12 nomirror")
First of all, thank you for this very useful package!
So, I had this idea, but I really don't know how hard it would be to implement or if it is desirable.
But what about a
gnuplot>
REPL mode (mainly to pass setting commands to gnuplot)? Similar toshell
mode or Pkg3.jl'spkg
REPL mode.I believe this would be really helpful for those already familiar with gnuplot.
Ideally one would be able to do:
The text was updated successfully, but these errors were encountered: