lib/gnuplotrb/external_classes/daru.rb
##
# Convert Vector to Gnuplot format.
#
# @return [String] data converted to Gnuplot format
Convert Vector to Gnuplot format.
Convert Vector to Gnuplot format .
def to_gnuplot_points
        result = ''
        each_with_index do |value, index|
          quoted = (index.is_a?(String) || index.is_a?(Symbol)) && index.length > 0
          result += quoted ? "\"#{index}\" " : "#{index} "
          result += "#{value}\n"
        end
        result
      end
def to_gnuplot_points result = '' each_with_index do | value , index | quoted = ( index . is_a? ( String ) || index . is_a? ( Symbol ) ) && index . length > 0 result += quoted ? "\"#{index}\" " : "#{index} " result += "#{value}\n" end result end
Convert Vector to Gnuplot format.
Convert Vector to Gnuplot format .
data converted to Gnuplot format
data converted to Gnuplot format
String