|
From: Daniel C. <dcl...@ya...> - 2009-05-31 16:42:09
|
Hi, I look for orientation on how to plot a graph I have seen no examples for. Imagine you have this data consisting of tower_name+tower_height: Burj Dubai, 818 KVLY-TV mast, 628.8 CN Tower, 553.3 Sears Tower, 527.3 Taipei 101, 509.2 I want a graph with 5 horizontal lines, each at the height specified by the second parameter. Similar in nature to this graph: https://eshu.ubuntu-eu.org/cgi-bin/munin-cgi-graph/ubuntu-eu.org/eshu/smart_sdb-month.png I could do manually: plot 818 title "Burj Dubai", 628.8 title "KVLY-TV mast", 553.3 title "CN tower", 527.3 title "Sears Tower", 509.2 title "Taipei 101" But I want the data to be read from a file. Can this be done with a gnuplot command? Thanks, Daniel |