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


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

Re: splot, putting labels corresponding to one parameter

From Jörg Buchholz <bookwood4new@freenet.de>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: splot, putting labels corresponding to one parameter
Date 2018-11-26 10:38 +0100
Organization A noiseless patient Spider
Message-ID <ptgeve$mv0$1@dont-email.me> (permalink)
References <alpine.WNT.2.10.1708260737460.1524@BecaneCoulon> <aa5180b2-f6c5-4f82-977f-dd0852a3f65b@googlegroups.com>

Show all headers | View raw


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

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


Thread

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