The plotting works fine is I take the log first. About having gsl as a module I was looking at the code. I was wondering if its possible just to add an interface function to the code and compile it as a dynamic library with that interface function and any command can be passed to that interface function that just gives it to the gsl shell and gets the output. But i cannot find the loop where the gsl shell is operating. Do you think this will work?
On Thu, Oct 11, 2012 at 3:45 PM, Francesco Abbate
<address@hidden> wrote:
2012/10/12 Milind Gupta <address@hidden>:
> Hi,
> I just started using gsl shell. This is a really great tool. I am
> trying to read a csv file and plot multiple plots on a graph. This works
> fine thanks to the excellent documentation on the website. Only thing I
> cannot find is how to convert one axis to log scale? Is there any way to do
> that?
Hi,
currently there is no explicit support for plots with log scale. Right
now the only solution is to compute explicitly the logarithm for the x
or y values before feeding the data to the plotting functions.
May be I should add the support for log scale into gsl shell but I
have to think to an appropriate user interface.
> Also is there a module for gsl-shell that can be required in lua and
> used in another project?
The short answer is "no". Currently gsl shell should be used *instead*
of Lua, it is a sort of extended implementation of Lua. I understand
this can be inconvenient is some cases but for the moment there is no
other solution.
Best regards,
Francesco