Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #1394
| Newsgroups | comp.graphics.apps.gnuplot |
|---|---|
| Date | 2012-10-01 04:32 -0700 |
| Message-ID | <004758a9-5cd3-4e24-bfe0-f710a91b7b38@googlegroups.com> (permalink) |
| Subject | A problem with generating graphs |
| From | Vin <pvinod1973@gmail.com> |
Hi, I a really new to gnuplot and started using it recently. When I use the following script to generate a graph: # Gnuplot script file for plotting data in file "result_standard.dat" 2 # This file is called script_standard.gpl 3 # 4 set autoscale # scale axes automatically 5 unset log # remove any log-scaling 6 unset label # remove any previous labels 7 set xtic auto # set xtics automatically 8 set ytic auto # set ytics automatically 9 #set key right nobox 10 set title "Optimum number of coils (nopt) with constant Pt and Pth and va riable d" 11 set xlabel "d (meters)" 12 set ylabel "nopt" 13 #set size 0.5, 0.5 14 #set term png size 600, 400 15 set term png 16 set output "graph_standard.png" 17 plot "result_standard.dat" using 1:2 with linespoints I see the that the string "result_standard.dat" using 1:2 with linespoints appears on the graph. I took this script from a google search, and the output shown therein has no such problem. I am naming my script file with .gpl extension. In the original case, the extension .p had been used to name the file. Please point out what is wrong with my script. Really appreciate your comments. thanks Vinod
Back to comp.graphics.apps.gnuplot | Previous | Next — Next in thread | Find similar
A problem with generating graphs Vin <pvinod1973@gmail.com> - 2012-10-01 04:32 -0700 Re: A problem with generating graphs James <jjpuzzles@wowway.com> - 2012-10-02 04:16 -0700
csiph-web