Skip to content

Commit 29e02a9

Browse files
author
Casper Holmgreen
committed
Corrected the labels in the second example of README.textile
1 parent fba9cee commit 29e02a9

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.textile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,8 @@ Gnuplot.open do |gp|
143143
Gnuplot::Plot.new( gp ) do |plot|
144144

145145
plot.title "Array Plot Example"
146-
plot.ylabel "x"
147-
plot.xlabel "x^2"
146+
plot.xlabel "x"
147+
plot.ylabel "x^2"
148148

149149
x = (0..50).collect { |v| v.to_f }
150150
y = x.collect { |v| v ** 2 }
@@ -199,4 +199,4 @@ plot.arbitrary_lines << "set ylabel \"y label" font \"Helvetica,20\""
199199
</pre>
200200

201201
See more in the examples folder. Also since this is basically just a wrapper for gnuplot itself, you should be able to do anything that it can do (demos:
202-
http://gnuplot.sourceforge.net/demo_4.4/ )
202+
http://gnuplot.sourceforge.net/demo_4.4/ )

0 commit comments

Comments
 (0)