Re: Generatin of function with non linear scale

Patrick Dupre via gnuplot-info <[email protected]> Thu, 26 Feb 2026 16:39:57 +0100
Newsgroups gmane.comp.graphics.gnuplot.user
Message-ID <trinity-6c24fc7b-266d-4624-9724-7fdcbe6ac227-1772120397804@3c-app-mailcom-bs11>
OK,

Exactly what I wanted.
>
> > 
> > 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
> 


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