|
From: Jon <dev...@gm...> - 2011-02-10 20:55:10
|
Very instructive! I would like to know more about using "+" as special filename, so I run help plot and then choosing datafile for details, but I can only find explanation for another special filename "-" but not "+", where can I get indepth explanation for it? This is actually a long-lasting question I had with gnuplot help. Gnuplot uses very common words as command, which is easier for us to remember, but also makes it much harder to get help through search engines like google. Usually I have to spend time going through the help manual in details to get what I needed. Thanks, Sincerely, Jon On Wed, Feb 9, 2011 at 2:27 PM, Thomas Sefzick <t.s...@fz...>wrote: > > you could use the parametric mode > > set parametric > set xrange [-2:1] > set trange [0:1] > plot t,sin(t) > > or use the special filename "+" and the ternary operator > > set xrange [-2:1] > plot '+' using ($1>=0.0?$1:0/0):(sin($1)) > > > gecko9922 wrote: > > > > Hi guys, > > i have a little problem. I want to plot a function, which i got from > > fitting some datapoints in just a fixed interval. How can i do this? > > > > For example: > > I want to plot the fitted function (or a function of choice) in an > > intervall [0:1] , but xrange should be [-1:2]. > > > > Thx for your help > > > > -- > View this message in context: > http://old.nabble.com/Plot-a-function-in-defined-intervall-tp30885587p30886569.html > Sent from the Gnuplot - User mailing list archive at Nabble.com. > > > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > |