Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #2324
| From | Anton Puhlwetter <anton.puhlwetter@web.de> |
|---|---|
| Newsgroups | comp.graphics.apps.gnuplot |
| Subject | Re: Fitting in current xrange |
| Date | 2014-03-02 00:10 +0100 |
| Organization | albasani.net |
| Message-ID | <letpdf$9bf$1@news.albasani.net> (permalink) |
| References | <lesvj1$kqq$1@news.albasani.net> <bnekt2Fiat6U1@mid.dfncis.de> |
Hello,
> How could you possibly have failed to notice the information on how
> to do this, given it's literally the first thing explained in "help
> fit" after the command syntax?
I suppose you are talking about this part of the help:
> Ranges may be specified to temporarily limit the data which is to be
> fitted; any out-of-range data points are ignored. The syntax is
>
> [{dummy_variable=}{<min>}{:<max>}],
I am aware that I can use this to specify a range /if I know the boundaries/. E.g., I can write:
| fit [0:10] f(x) 'data.dat'...
or even
| fit [xmin:xmax] f(x) ...
but in these cases, I have to know in advance the boundaries I want to use for fitting. What I am looking for are things like one of the following:
| fit CURRENT_X_RANGE f(x)...
| fit [XRANGE_MIN:XRANGE_MAX] f(x)
My problem is: I do not know the values in advance, because I want to use wxt's interactive features to select a region of my graph, and then run the fit with the /current visible region/. I don't want to run show xrange and copy the values into fit, because finally, I want to run the fit by just hitting a hotkey.
I hope I was able to make clear that my problem is not literally the first line of the documentation.
Best regards,
Anton
Back to comp.graphics.apps.gnuplot | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Fitting in current xrange Anton Puhlwetter <anton.puhlwetter@web.de> - 2014-03-01 16:49 +0100
Re: Fitting in current xrange Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2014-03-01 18:49 +0100
Re: Fitting in current xrange Anton Puhlwetter <anton.puhlwetter@web.de> - 2014-03-02 00:10 +0100
Re: Fitting in current xrange Alex van der Spek <zdoor@xs4all.nl> - 2014-03-02 15:30 +0000
Re: Fitting in current xrange Ethan A Merritt <EAMerritt@gmail.com> - 2014-03-01 20:02 -0800
Re: Fitting in current xrange Anton Puhlwetter <anton.puhlwetter@web.de> - 2014-03-04 18:05 +0100
csiph-web