Re: Generatin of function with non linear scale

theozh--- via gnuplot-info <[email protected]> Thu, 26 Feb 2026 14:36:55 +0100
Newsgroups gmane.comp.graphics.gnuplot.user
Message-ID <[email protected]>
> 
> NO,
> set logscale only set a log scale
> I want to have the x values following a log scale like
> 
> 0.01 0.1 1 10 100 1000
> 
> I export the function to a file

Hi Patrick,
Not sure, what exactly you are aiming for...
What about the following?
If you set samples 6, you will get the values you mentioned.
Best, Theo.

reset session
set logscale x
set samples 11
set xrange[0.01:1000]
set table $Data
     plot '+' u 1 w table
unset table
print $Data

Result:
  0.01
  0.0316228
  0.1
  0.316228
  1
  3.16228
  10
  31.6228
  100
  316.228
  1000




_______________________________________________
gnuplot-info mailing list
[email protected]
Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info