Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #1394

A problem with generating graphs

Received by 10.68.226.41 with SMTP id rp9mr4271716pbc.4.1349091171958; Mon, 01 Oct 2012 04:32:51 -0700 (PDT)
Received by 10.68.125.164 with SMTP id mr4mr3830516pbb.19.1349091171944; Mon, 01 Oct 2012 04:32:51 -0700 (PDT)
Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!kt20no5377031pbb.1!news-out.google.com!t10ni23599836pbh.0!nntp.google.com!kr7no183731pbb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.graphics.apps.gnuplot
Date Mon, 1 Oct 2012 04:32:51 -0700 (PDT)
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=139.86.2.15; posting-account=Q-N1nQoAAADH4i2zl5Plvr0puEiTlvJx
NNTP-Posting-Host 139.86.2.15
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <004758a9-5cd3-4e24-bfe0-f710a91b7b38@googlegroups.com> (permalink)
Subject A problem with generating graphs
From Vin <pvinod1973@gmail.com>
Injection-Date Mon, 01 Oct 2012 11:32:51 +0000
Content-Type text/plain; charset=ISO-8859-1
Xref csiph.com comp.graphics.apps.gnuplot:1394

Show key headers only | View raw


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 | NextNext in thread | Find similar | Unroll thread


Thread

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