|
From: Thomas S. <t.s...@fz...> - 2009-05-14 10:33:20
|
herrdeh wrote: > > Now a second issue comes up: > > I'd like to visualize the number of passengers between the different > bus tops. Data could be given in 3 columns: <number_of_passengers>, > <x-coordinate>, < y-coordinate>. > > The number_of_passengers values should be expressed by the thickness > of the lines between the bus stops (expressed by coordinates). > > How can I do that? > you could draw each connection between subsequent bus stops separately, with gnuplot 4.3-cvs you could use the 'for' loop. let's assume, that each data line contains the number of passengers leaving the bus stop at the coordinate given by x and y: number_of_busstops = 10 plot "datafile" using 2:(my_lw=$1, 0/0) every 1::0::0 notitle, \ for [i=1:number_of_busstops] "" using 2:(my_lw=$1, $3) \ every 1::(i-1)::i with lines linetype 1 linewidth my_lw notitle -- View this message in context: http://www.nabble.com/x-y-z-plot%2C-z-value-by-dot-size--tp23479708p23538011.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |