|
From: Nikos <ni...@ma...> - 2005-07-13 13:50:14
|
Hello, New user to gp. I would like to dynamically plot a radar plot like this link... http://www.maich.gr/hup/radar1.jpg I can get this far... http://www.maich.gr/hup/polar.jpg I am able to plot the blank radar, following the demo, but how would I add the points and lines from file? I looked through the docs, but cannot see how to simply plot 4 point with connecting lines... I have 2 files, one containing optimum and one containg calculated values for each axis.. The are in rect. coordinates. I saw an old post regarding a possible need to convert to polar first.. here's where I'm at.. --- unset border set terminal jpeg small size 375,375 set output "polar.jpg" #set size 5/5., 4/3. set size square #set size 2/2., 4/3. #set clip set polar set xtics axis nomirror set ytics axis nomirror #set samples 160 set zeroaxis set trange [0:2*pi] set title "Compromise solution v.s. Reference point" set ylabel "Cost" -1 set xlabel "CO2" 0,-1 set x2label "Jobs" 0,1 set y2label "Subsidies" 1 #dont show legend set key off #set xrange [0 : 0.75] plot .2,.4,.6,.8,1.0 ----- regards, nikos |