-
Notifications
You must be signed in to change notification settings - Fork 48
Manual path - no Windows Path #39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
this is a dead corner of the world - nice, but dead. One of the rubyists cemetary. rip |
Still barely alive LOL. Wasn't there a pull request for it or some odd? On Thu, Sep 24, 2015 at 5:36 AM, ERIPECH [email protected] wrote:
|
Didnt found any better - but solved also this one in the meantime. Thanks! Methods and variables for interacting with the gnuplot process. Most ofthese methods are for sending data to a gnuplot process, not for reading fromit. Most of the methods are implemented as added methods to the built inclasses.require 'matrix' module Gnuplot Trivial implementation of the which command that uses the PATH environmentvariable to attempt to find the given application. The application mustbe executable and reside in one of the directories in the PATH environmentto be found. The first match that is found will be returned.bin [String] The name of the executable to search for.Return the full path to the first match or nil if no match is found.def Gnuplot.which ( bin ) def Gnuplot.which_helper bin
end Find the path to the gnuplot executable. The name of the executable canbe specified using the RB_GNUPLOT environment variable but will default tothe command 'gnuplot'.persist [bool] Add the persist flag to the gnuplot executableReturn the path to the gnuplot executable or nil if one cannot be found.def Gnuplot.gnuplot( persist = true ) Open a gnuplot process that exists in the current PATH. If the persistflag is true then the -persist flag is added to the command line. Thepath to the gnuplot executable is determined using the 'which' command.See the gnuplot documentation for information on the persist flag.todo Add a method to pass the gnuplot path to the function.def Gnuplot.open( persist=true ) Holds command information and performs the formatting of that commandinformation to a Gnuplot process. When constructing a new plot forgnuplot, this is the first object that must be instantiated. On thisobject set the various properties and add data sets.class Plot
end Analogous to Plot class, holds command information and performs the formatting of that commandinformation to a Gnuplot process. Should be used when for drawing 3D plots.class SPlot < Plot
end Container for a single dataset being displayed by gnuplot. Each objecthas a reference to the actual data being plotted as well as settings thatcontrol the "plot" command. The data object must support the to_gplotcommand.+data+ The data that will be plotted. The only requirement is that theobject understands the to_gplot method.The following attributes correspond to their related string in the gnuplotcommand. See the gnuplot documentation for more information on this.title, with@todo Use the delegator to delegate to the data property.class DataSet
end class Array def to_gsplot
end class Matrix
end end |
OK looks like you can use environment variable "RB_GNUPLOT" does that satisfy your requirement? |
how can i set a manual path - without using windows path for gnuplot?
The text was updated successfully, but these errors were encountered: