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


Groups > comp.graphics.apps.gnuplot > #2371 > unrolled thread

syntax for plotting fitting parameters has changed?

Started byJean Dubois <jeandubois314@gmail.com>
First post2014-03-24 08:24 -0700
Last post2014-04-16 05:56 -0700
Articles 6 — 2 participants

Back to article view | Back to comp.graphics.apps.gnuplot


Contents

  syntax for plotting fitting parameters has changed? Jean Dubois <jeandubois314@gmail.com> - 2014-03-24 08:24 -0700
    Re: syntax for plotting fitting parameters has changed? Karl <mail.kfr@gmx.net> - 2014-03-24 17:23 +0100
      Re: syntax for plotting fitting parameters has changed? Jean Dubois <jeandubois314@gmail.com> - 2014-03-24 14:39 -0700
        Re: syntax for plotting fitting parameters has changed? Jean Dubois <jeandubois314@gmail.com> - 2014-04-02 01:50 -0700
        Re: syntax for plotting fitting parameters has changed? Karl <mail.kfr@gmx.net> - 2014-04-02 11:20 +0200
          Re: syntax for plotting fitting parameters has changed? Jean Dubois <jeandubois314@gmail.com> - 2014-04-16 05:56 -0700

#2371 — syntax for plotting fitting parameters has changed?

FromJean Dubois <jeandubois314@gmail.com>
Date2014-03-24 08:24 -0700
Subjectsyntax for plotting fitting parameters has changed?
Message-ID<10ae33b0-f5b0-4eb9-807f-7754a4abdd66@googlegroups.com>
I used to plot labels with commands like this:
set angles degrees
g(x)=90-atan(x/c)
c=4800
fit g(x) "hdfsim.dat" using 1:3 via c
set label 'Fitted value $f_{-3dB}$ = %3.5g Hz',c at 14000,93.5


strange enough this no longer seems to work:
I get error messages like below:

Final set of parameters            Asymptotic Standard Error
=======================            ==========================
c               = 4822.84          +/- 0.1217       (0.002524%)

gnuplot> set label 'Fitted value $f_{-3dB}$ = %3.5g Hz',c at 14000,93.5
                                                               ^
         line 0: unexpected or unrecognized token

         line 0: label has x coord of 0; must be above 0 for log scale!

Can someone here help me further with this issue?

thanks in advance 
jean

[toc] | [next] | [standalone]


#2372

FromKarl <mail.kfr@gmx.net>
Date2014-03-24 17:23 +0100
Message-ID<lgpm47$u4a$1@news.rz.uni-karlsruhe.de>
In reply to#2371
Am 24.03.2014 16:24, schrieb Jean Dubois:

> I used to plot labels with commands like this:

> set label 'Fitted value $f_{-3dB}$ = %3.5g Hz',c at 14000,93.5


You need to invoke gprintf() or sprintf() to actually _do_ the formatting.

 Karl

[toc] | [prev] | [next] | [standalone]


#2373

FromJean Dubois <jeandubois314@gmail.com>
Date2014-03-24 14:39 -0700
Message-ID<78825588-a0a6-4cca-8cfa-649b02aa9122@googlegroups.com>
In reply to#2372
Op maandag 24 maart 2014 17:23:24 UTC+1 schreef Karl:
> Am 24.03.2014 16:24, schrieb Jean Dubois:
> 
> 
> 
> > I used to plot labels with commands like this:
> 
> 
> 
> > set label 'Fitted value $f_{-3dB}$ = %3.5g Hz',c at 14000,93.5
> 
> 
> 
> 
> 
> You need to invoke gprintf() or sprintf() to actually _do_ the formatting.
> 
Dear Karl,
Could you please show me in an example (preferably the one above) how to accomplish this? I'd really appreciate that very much

kind regards,
jean

[toc] | [prev] | [next] | [standalone]


#2386

FromJean Dubois <jeandubois314@gmail.com>
Date2014-04-02 01:50 -0700
Message-ID<861ffad1-db90-4b31-8679-f27367e51bf6@googlegroups.com>
In reply to#2373
Op maandag 24 maart 2014 22:39:20 UTC+1 schreef Jean Dubois:
> Op maandag 24 maart 2014 17:23:24 UTC+1 schreef Karl:
> 
> > Am 24.03.2014 16:24, schrieb Jean Dubois:
> 
> > 
> 
> > 
> 
> > 
> 
> > > I used to plot labels with commands like this:
> 
> > 
> 
> > 
> 
> > 
> 
> > > set label 'Fitted value $f_{-3dB}$ = %3.5g Hz',c at 14000,93.5
> 
> > 
> 
> > 
> 
> > 
> 
> > 
> 
> > 
> 
> > You need to invoke gprintf() or sprintf() to actually _do_ the formatting.
Dear Karl,
Could you please tell how/where to place those print commands?

thanks in advance
jean

[toc] | [prev] | [next] | [standalone]


#2387

FromKarl <mail.kfr@gmx.net>
Date2014-04-02 11:20 +0200
Message-ID<lhgkpk$hri$1@news.rz.uni-karlsruhe.de>
In reply to#2373
Am 24.03.2014 22:39, schrieb Jean Dubois:
> Op maandag 24 maart 2014 17:23:24 UTC+1 schreef Karl:
>> Am 24.03.2014 16:24, schrieb Jean Dubois:
>>
>>
>>
>>> I used to plot labels with commands like this:
>>
>>
>>
>>> set label 'Fitted value $f_{-3dB}$ = %3.5g Hz',c at 14000,93.5
>>

>>
>> You need to invoke gprintf() or sprintf() to actually _do_ the formatting.
>>
> Dear Karl,
> Could you please show me in an example (preferably the one above) how to accomplish this? I'd really appreciate that very much
> 

Have you read "help gprintf"? rtfm ;-)

	set label gprintf("Fitted value %3.5g",c) at 1,1

  K


[toc] | [prev] | [next] | [standalone]


#2410

FromJean Dubois <jeandubois314@gmail.com>
Date2014-04-16 05:56 -0700
Message-ID<2fa8bc1c-583a-4045-8d61-9ebc7c20854e@googlegroups.com>
In reply to#2387
Op woensdag 2 april 2014 11:20:38 UTC+2 schreef Karl:
> Am 24.03.2014 22:39, schrieb Jean Dubois:
> 
> > Op maandag 24 maart 2014 17:23:24 UTC+1 schreef Karl:
> 
> >> Am 24.03.2014 16:24, schrieb Jean Dubois:
> 
> >>
> 
> >>
> 
> >>
> 
> >>> I used to plot labels with commands like this:
> 
> >>
> 
> >>
> 
> >>
> 
> >>> set label 'Fitted value $f_{-3dB}$ = %3.5g Hz',c at 14000,93.5
> 
> >>
> 
> 
> 
> >>
> 
> >> You need to invoke gprintf() or sprintf() to actually _do_ the formatting.
> 
> >>
> 
> > Dear Karl,
> 
> > Could you please show me in an example (preferably the one above) how to accomplish this? I'd really appreciate that very much
> 
> > 
> 
> 
> 
> Have you read "help gprintf"? rtfm ;-)
> 
> 
> 
> 	set label gprintf("Fitted value %3.5g",c) at 1,1
> 
> 
> 
>   K

thank you very much Karl

kind regards,
jean

[toc] | [prev] | [standalone]


Back to top | Article view | comp.graphics.apps.gnuplot


csiph-web