From octave-graphics-request at bevo dot che dot wisc dot edu Thu May 25 11:47:45 2000 Subject: arrow and linewidth From: Stephen Eglen To: zakaria Cc: octave-graphics at bevo dot che dot wisc dot edu Date: Thu, 25 May 2000 17:47:41 +0100 (BST) > I have any problem about make arrow in looping and make linewidth. > this command : > i=1;j=4; > octave>gset arrow from i,j to i+2,j+3 > octave> line 0: undefined variable: i > > and problem make linewidth : > if I can make linewidth in gnuplot but in octave can't > in gnuplot : > gnuplot>plot (10) lw 4 hi, for detailed interaction with gnuplot process, you are best using graw() to send a string to the process. e.g. something like (untested code here) cmd = sprintf("set arrow from %f,%f to %f,%f\n", i, j, i+2, j+3); graw(cmd); graw() has been present since 2.0.14 I think. cheers, stephen