Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #4106
| X-Received | by 2002:a24:93:: with SMTP id 141mr8983782ita.17.1543229411803; Mon, 26 Nov 2018 02:50:11 -0800 (PST) |
|---|---|
| X-Received | by 2002:aca:5803:: with SMTP id m3-v6mr445531oib.4.1543229411560; Mon, 26 Nov 2018 02:50:11 -0800 (PST) |
| Path | csiph.com!weretis.net!feeder6.news.weretis.net!feeder.usenetexpress.com!feeder-in1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!k10no15219itk.0!news-out.google.com!v141ni36ita.0!nntp.google.com!k10no15215itk.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail |
| Newsgroups | comp.graphics.apps.gnuplot |
| Date | Mon, 26 Nov 2018 02:50:11 -0800 (PST) |
| In-Reply-To | <ptgi2n$8op$1@dont-email.me> |
| Complaints-To | groups-abuse@google.com |
| Injection-Info | glegroupsg2000goo.googlegroups.com; posting-host=2405:204:a0aa:8c40:7f79:6956:1d7b:d363; posting-account=QLJ3mAoAAABT4Plmu7vwBG2bcvTSTo_B |
| NNTP-Posting-Host | 2405:204:a0aa:8c40:7f79:6956:1d7b:d363 |
| References | <alpine.WNT.2.10.1708260737460.1524@BecaneCoulon> <aa5180b2-f6c5-4f82-977f-dd0852a3f65b@googlegroups.com> <ptgeve$mv0$1@dont-email.me> <1e149689-2815-48ef-bf88-2df18085fc10@googlegroups.com> <ptgfu3$s5m$1@dont-email.me> <13bbf43a-30ab-4bfc-b655-dc3c99d71672@googlegroups.com> <ptgi2n$8op$1@dont-email.me> |
| User-Agent | G2/1.0 |
| MIME-Version | 1.0 |
| Message-ID | <3e94c605-d304-41d3-b924-a6f9716ae9d0@googlegroups.com> (permalink) |
| Subject | Re: splot, putting labels corresponding to one parameter |
| From | srishtinagu19@gmail.com |
| Injection-Date | Mon, 26 Nov 2018 10:50:11 +0000 |
| Content-Type | text/plain; charset="UTF-8" |
| Content-Transfer-Encoding | quoted-printable |
| Lines | 105 |
| Xref | csiph.com comp.graphics.apps.gnuplot:4106 |
Show key headers only | View raw
On Monday, November 26, 2018 at 4:01:52 PM UTC+5:30, Jörg Buchholz wrote:
> On 26.11.2018 11:12, srishtinagu19@gmail.com wrote:
> > On Monday, November 26, 2018 at 3:25:16 PM UTC+5:30, Jörg Buchholz wrote:
> >> On 26.11.2018 10:46, srishtinagu19@gmail.com wrote:
> >>> On Monday, November 26, 2018 at 3:08:56 PM UTC+5:30, Jörg Buchholz wrote:
> >>>> On 26.11.2018 07:01, srishtinagu19@gmail.com wrote:
> >>>>> Hi,
> >>>>> I want to set contour labels at different parameter values in the key of my contour plot. I have been trying 'set clabel' but it gives me the same label for each parameter , also I tried it writing multiple times for each parameter, but didnt work.
> >>>>>
> >>>>> Following is my gnuplot script-
> >>>>> ""
> >>>>> set terminal pdf
> >>>>> set output "myplot1.pdf"
> >>>>> set term pdfcairo enhanced
> >>>>> set contour
> >>>>> set view map
> >>>>> unset surface
> >>>>> set xlabel '{/Symbol d}_{CP}'
> >>>>> set ylabel 'sin^{2}{/Symbol Q}_{23}'
> >>>>> #set xtics nomirror
> >>>>> #set ytics nomirror
> >>>>> set border lw 4
> >>>>> #set title "Write your title"
> >>>>> #set title font "Helvetica,14"
> >>>>> set label 1"" at 135,0.62 point pt 7 ps 0.5
> >>>>> set key inside left bottom Left title 'Confidence Levels' noautotitle width 0.50 height 0.75 box lw 3 lt 7
> >>>>> set clabel '3{/Symbol s}'
> >>>>> set clabel '2{/Symbol s}'
> >>>>> set cntrparam levels discrete 2.3,4.61,5.99
> >>>>> splot [0:360][0:0.9] "test1.dat" with lines lw 3
> >>>>> set out
> >>>>> ""
> >>>>>
> >>>>> Please let me know.
> >>>>> Thank you.
> >>>>>
> >>>>
> >>>> Is this what you want?
> >>>>
> >>>> reset
> >>>> #set output "myplot1.pdf"
> >>>> #set term pdfcairo enhanced
> >>>> set contour
> >>>> set view map
> >>>> unset surface
> >>>> set xlabel '{/Symbol d}_{CP}'
> >>>> set ylabel 'sin^{2}{/Symbol Q}_{23}'
> >>>> #set xtics nomirror
> >>>> #set ytics nomirror
> >>>> set border lw 4
> >>>> #set title "Write your title"
> >>>> #set title font "Helvetica,14"
> >>>> set label 1"" at 135,0.62 point pt 7 ps 0.5
> >>>> set key inside left bottom Left title 'Confidence Levels' noautotitle
> >>>> width 0.50 height 0.75 box lw 3 lt 7
> >>>> #set clabel '3{/Symbol s}'
> >>>> #set clabel '2{/Symbol s}'
> >>>> set cntrlabel format '%.2f'
> >>>> set cntrparam levels discrete 2.30,4.61,5.99
> >>>> splot x*y with lines lw 3
> >>>> #set out
> >>>>
> >>>> Cheers
> >>>> Jörg
> >>>
> >>> Hi,
> >>> set cntrlabel format '%.2f'
> >>> It is showing error on this line...
> >>
> >> use "set clabel '%.2f'" instead. There are some changes from gnuplot 4.6
> >> to 5.2
> >>
> >>> Since I am plotting at three contour levels , so for each colored line i want to indicate it with a different representation in the key of the plot.
> >>>
> >
> > no its not working...
>
> Here both works. The script above gives a contur plot with labels at
> 2.30, 4.61 and 5.99 on the screen. It works with set cntrlabel format
> '%.2f' and set clabel '%.2f' at gnuplot 5.2.
>
> For plotting in your pdf file you must uncomment set output, set term
> and set out lines.
>
> What means "its not working"? Are there error messages and what are the
> error messages?
>
> Jörg
Yes Sir, It is giving the plot but I want to make changes in the key of this contour plot.
Like it is showing the values 2.30,4.61,5.99 at which I am plotting the contour in the key but I don't want these values to be printed in the key.
I want to display the percentages that these values represent in the key.
Instead of 2.30- I want it to display 68% or 1sigma, and so on...
Back to comp.graphics.apps.gnuplot | Previous | Next — Previous in thread | Next in thread | Find similar
splot, putting labels corresponding to one parameter Jean-Pierre Coulon <coulon@cacas.pam.obs-nice.fr> - 2017-08-26 08:05 +0200
Re: splot, putting labels corresponding to one parameter Karl Ratzsch <mail.kfr@gmx.net> - 2017-08-26 08:42 +0200
Re: splot, putting labels corresponding to one parameter Jean-Pierre Coulon <coulon@cacas.pam.obs-nice.fr> - 2017-08-26 09:14 +0200
Re: splot, putting labels corresponding to one parameter Karl Ratzsch <mail.kfr@gmx.net> - 2017-08-27 12:17 +0200
Re: splot, putting labels corresponding to one parameter Jean-Pierre Coulon <coulon@cacas.pam.obs-nice.fr> - 2017-08-30 02:05 +0200
Re: splot, putting labels corresponding to one parameter Karl Ratzsch <mail.kfr@gmx.net> - 2017-08-30 10:00 +0200
Re: splot, putting labels corresponding to one parameter Jean-Pierre Coulon <coulon@cacas.pam.obs-nice.fr> - 2017-08-30 13:03 +0200
Re: splot, putting labels corresponding to one parameter srishtinagu19@gmail.com - 2018-11-25 22:01 -0800
Re: splot, putting labels corresponding to one parameter Jörg Buchholz <bookwood4new@freenet.de> - 2018-11-26 10:38 +0100
Re: splot, putting labels corresponding to one parameter srishtinagu19@gmail.com - 2018-11-26 01:46 -0800
Re: splot, putting labels corresponding to one parameter Jörg Buchholz <bookwood4new@freenet.de> - 2018-11-26 10:55 +0100
Re: splot, putting labels corresponding to one parameter srishtinagu19@gmail.com - 2018-11-26 02:12 -0800
Re: splot, putting labels corresponding to one parameter Jörg Buchholz <bookwood4new@freenet.de> - 2018-11-26 11:31 +0100
Re: splot, putting labels corresponding to one parameter srishtinagu19@gmail.com - 2018-11-26 02:50 -0800
Re: splot, putting labels corresponding to one parameter srishtinagu19@gmail.com - 2018-11-26 02:52 -0800
Re: splot, putting labels corresponding to one parameter Jörg Buchholz <bookwood4new@freenet.de> - 2018-11-26 13:17 +0100
Re: splot, putting labels corresponding to one parameter Jörg Buchholz <bookwood4new@freenet.de> - 2018-11-26 16:29 +0100
csiph-web