Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using a log scale on gnuplot

Tags:

gnuplot

I am trying to change my scale on gnuplot. I had a file from which I am plotting the fifth and sixth columns, and I am trying to change the x axis to a log scale. I am using

set logscale <2>

but it is saing that 'x' is an invalid axis. Is there a way to find out what the "name" of my 'x' axis is so that I can use this command?

like image 601
Meep Avatar asked Nov 01 '17 19:11

Meep


1 Answers

From your question it's rather hard to see what you exactly want. Comment if this isn't what you're looking for. It sounds like you want to set the x axis to logscale base 2. It's done this way

set logscale x 2

In general, this is the command

set logscale <axes> <base>
like image 180
Ptheguy Avatar answered Sep 27 '22 22:09

Ptheguy