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


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

Re: Can I use the same gnuplot script file to plot different data files?

X-Received by 2002:a24:6cb:: with SMTP id 194-v6mr6843790itv.18.1542883446256; Thu, 22 Nov 2018 02:44:06 -0800 (PST)
X-Received by 2002:a9d:5ad:: with SMTP id 42mr185629otd.0.1542883446072; Thu, 22 Nov 2018 02:44:06 -0800 (PST)
Path csiph.com!weretis.net!feeder6.news.weretis.net!feeder.usenetexpress.com!feeder-in1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!q69no44858itb.0!news-out.google.com!v141ni66ita.0!nntp.google.com!z5-v6no44775ite.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.graphics.apps.gnuplot
Date Thu, 22 Nov 2018 02:44:05 -0800 (PST)
In-Reply-To <pt5vmf$7j7$1@dont-email.me>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=14.139.236.243; posting-account=QLJ3mAoAAABT4Plmu7vwBG2bcvTSTo_B
NNTP-Posting-Host 14.139.236.243
References <1123688616.067028.222910@o13g2000cwo.googlegroups.com> <ec6e2983-99a2-4a40-9a1f-51b8760c8fc9@googlegroups.com> <8392b610-487d-4688-ab1c-0cc15de51cc5@googlegroups.com> <pt3m8a$hk8$1@dont-email.me> <738fc952-1faa-4c4a-a51a-7bda36f485d6@googlegroups.com> <pt47j2$3bf$1@dont-email.me> <2d568b4a-d353-42e8-a3c4-b4eb6b73f8f1@googlegroups.com> <2403805d-ccaa-4116-b167-e332a3713894@googlegroups.com> <pt5vmf$7j7$1@dont-email.me>
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <6ef0919d-05be-4c69-b061-22abf4a80043@googlegroups.com> (permalink)
Subject Re: Can I use the same gnuplot script file to plot different data files?
From srishtinagu19@gmail.com
Injection-Date Thu, 22 Nov 2018 10:44:06 +0000
Content-Type text/plain; charset="UTF-8"
Content-Transfer-Encoding quoted-printable
Lines 113
Xref csiph.com comp.graphics.apps.gnuplot:4094

Show key headers only | View raw


On Thursday, November 22, 2018 at 3:46:48 PM UTC+5:30, Jörg Buchholz wrote:
> On 22.11.2018 07:12, srishtinagu19@gmail.com wrote:
> > On Thursday, November 22, 2018 at 11:30:33 AM UTC+5:30, srisht...@gmail.com wrote:
> >> On Wednesday, November 21, 2018 at 11:49:15 PM UTC+5:30, Jörg Buchholz wrote:
> >>> On 21/11/2018 15:03, srishtinagu19@gmail.com wrote:
> >>>
> >>>> Thanks a lot.. Its working with :gnuplot> load 'scriptname'
> >>>> I am writing greek letters but its not printing that letter.
> >>>> For that I am using- 
> >>>> gnuplot>set termoption enhanced
> >>>> gnuplot> set xlabel "{/Symbol d}"  (I want to print delta)
> >>>>
> >>>> its giving me /Symbol d... What should I do ?
> >>>
> >>> What "pdf-termianl" do you use? What says "gnuplot> show term"?
> >>>
> >>> Here with pdfcairo as "pdf-termianl" there is a Δ in the pdf output file
> >>> when I use gnuplot> set xlabel "{/Symbol D}".
> >>>
> >>> Instead of "/Symbol D" you can wrote your script in unicode (UTF8). Than
> >>> you can use all unicode signs directly in gnuplot.
> >>>
> >>> Example script (utf8test.plt):
> >>>
> >>> set encoding utf8
> >>> set xlabel 'Δ Delta'
> >>> set term pdfcairo
> >>> set out 'test.pdf'
> >>> plot sin(x)
> >>> set out
> >>>
> >>>
> >>> gnuplot> load 'utf8test.plt'
> >>>
> >>> Now there is "Δ Delta" as xlabel in the pdf file
> >>>
> >>> Jörg
> >>
> >>
> >> Hi,
> >> My gnuplot version is-
> >>
> >> 	G N U P L O T
> >> 	Version 4.6 patchlevel 2    last modified 2013-03-14 
> >> 	Build System: Linux x86_64
> >>
> >> I am using the following script-
> >> ""
> >> # set terminal pdf
> >> # set output "myplot.pdf"
> >> # set encoding utf8 
> >> # set term pdfcairo
> >> set contour
> >> set view map
> >> unset surface
> >> set xlabel '{/Symbol a}' 
> >> set cntrparam levels discrete 2.3,6.2,11.8
> >> splot [0:360][0:0.9] "test1.dat" with lines
> >> ""
> >>
> >> it is simply printing- {/Symbol a}
> > 
> > 
> > There is one more issue in my script, it is working very well.. but it is not saving the plot automatically...
> > If I am running the script its showing me the plot but it is not saving it by itself-
> > My script is as below- Please help...
> > # set terminal pdf
> > # set output "myplot1.pdf"
> 
> remove the two "#"
> 
> > set contour
> > set view map
> > unset surface
> > set xlabel "{/Symbol D}" 
> > set ylabel "sin^{2} Theta23"
> > set label 1"" at 270,0.62 point pt 1 ps 2
> > set cntrparam levels discrete 2.3,6.2,11.8
> > splot [0:360][0:0.9] "test1.dat" with lines
> 
> add "set out"
> 
> 
> > Also not printing the symbols....
> 
> Version 4.6 is very old. 5.2 is up-to-date.
> 
> For plotting symbols your terminal must support the enhanced mode. In
> early times there are two different pdf terminals in gnuplot. I'am not
> sure if the older pdf terminal supports the enhanced mode.
> 
> What shows "gnuplot> show term".
> 
> With "gnuplot> help term pdf" you can see what your terminal can do.
> 
> Please use pdfcairo enhanced.
> gnuplot> set term pdfcairo noenhanced
> 
> The pdf-file was generated after a "gnuplot> set out" after the plot
> command.
> 
> Jörg

Hi...

Its working now... with- set term pdfcairo enhanced
Thank you...

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Re: Can I use the same gnuplot script file to plot different data files? srishtinagu19@gmail.com - 2018-11-20 23:22 -0800
  Re: Can I use the same gnuplot script file to plot different data files? Jörg Buchholz <bookwood4new@freenet.de> - 2018-11-21 11:53 +0100
  Re: Can I use the same gnuplot script file to plot different data files? srishtinagu19@gmail.com - 2018-11-21 03:40 -0800
    Re: Can I use the same gnuplot script file to plot different data files? Jörg Buchholz <bookwood4new@freenet.de> - 2018-11-21 14:23 +0100
      Re: Can I use the same gnuplot script file to plot different data files? srishtinagu19@gmail.com - 2018-11-21 06:03 -0800
        Re: Can I use the same gnuplot script file to plot different data files? Jörg Buchholz <bookwood4new@freenet.de> - 2018-11-21 19:19 +0100
          Re: Can I use the same gnuplot script file to plot different data files? srishtinagu19@gmail.com - 2018-11-21 22:00 -0800
            Re: Can I use the same gnuplot script file to plot different data files? srishtinagu19@gmail.com - 2018-11-21 22:12 -0800
              Re: Can I use the same gnuplot script file to plot different data files? Jörg Buchholz <bookwood4new@freenet.de> - 2018-11-22 11:16 +0100
                Re: Can I use the same gnuplot script file to plot different data files? srishtinagu19@gmail.com - 2018-11-22 02:28 -0800
                Re: Can I use the same gnuplot script file to plot different data files? srishtinagu19@gmail.com - 2018-11-22 02:44 -0800
                Re: Can I use the same gnuplot script file to plot different data files? srishtinagu19@gmail.com - 2018-11-23 01:34 -0800
                Re: Can I use the same gnuplot script file to plot different data files? srishtinagu19@gmail.com - 2018-11-24 22:47 -0800
                Re: Can I use the same gnuplot script file to plot different data files? srishtinagu19@gmail.com - 2018-11-25 08:52 -0800

csiph-web