|
From: Thomas S. <t.s...@fz...> - 2009-10-15 14:23:19
|
seems, that your version of gnuplot doesn't interpret the '=' in the 'using' statement. do you use the development version (4.3-cvs)? herrdeh wrote: > > Hello, > > months ago I issued a request to visualize the traffic of a small bus > network. At that time that was preparation for a project ahead, which > now has to be worked upon. > > The task is this: > > I have a list, each line contains a pair of bus stops, represented by > cartesian coordinates and a number of passengers travelling between > these two stops. Thomas was so kind to propose a solution for this > issue, unluckily I could not make it work up to now. The suggestion > was the following: > > set terminal aqua font "Times,5" > number_of_busstops = 271 > plot "FGZ.xls" 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 > > Using gnuplot 4.2.5 on a Mac I get this result: > > gnuplot> set terminal aqua font "Times,5" > Terminal type set to 'aqua' > Options are '0 title "Figure 0" size 846 594 font "Times,5" > noenhanced solid' > gnuplot> number_of_busstops = 271 > gnuplot> plot "FGZ.xls" 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 > ^ > ')' expected > > > The "^" points exactly at that place: > > plot "FGZ.xls" using 2:(my_lw=^ > > I'd be grateful for any support to make this little script work. > > Greetings, > > Wolf > > > ++++++++++++++++++++++++++++++++++++++++++++++++++++ > + Wolf Drechsel > + Köhnstr. 54 > + D - 90478 Nürnberg > + Tel.: 0911 / 4 71 98 49 > + dre...@ve... > ++++++++++++++++++++++++++++++++++++++++++++++++++++ > > > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Gnuplot-info mailing list > Gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > -- View this message in context: http://www.nabble.com/traffic-plotting-tp25909289p25909549.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |