How to increase the number of ticks when using the logarithmic scale in gnuplot

I created a 3D splot.

But I do not get enough tick marks shown on the x or y axis.

I tried to increase them using this:

set xtics 0.000001
set ytics 0.000001

This increases the number of tick marks, but not the corresponding labels.

screenshot of graph axis

Data fragment (map.gnu):

0.00007430 0.00001000 155999
0.00007430 0.00001200 142552
0.00007430 0.00001440 141632
0.00007430 0.00001728 175229
0.00007430 0.00002074 198271
0.00007430 0.00002488 180482
0.00007430 0.00002986 121753
0.00007430 0.00003583 18049
0.00007430 0.00004300 46966
0.00007430 0.00005160 27892
0.00007430 0.00006192 20279
0.00007430 0.00008916 128832

0.00008916 0.00001000 126748
0.00008916 0.00001200 101393
0.00008916 0.00001440 143819
0.00008916 0.00001728 149303
0.00008916 0.00002074 190983
0.00008916 0.00002488 102433
0.00008916 0.00002986 13360
0.00008916 0.00003583 -27076
0.00008916 0.00004300 4639
0.00008916 0.00005160 5388
0.00008916 0.00006192 -33533
0.00008916 0.00007430 -146472

Script:

set terminal wxt size 1500,900
set ticslevel 0
set key off
set logscale x
set logscale y
set xlabel "x SHORT (log)"
set ylabel "y LONG (log)"
splot "map.gnu" using 1:2:3 with points palette pointsize 3 pointtype 7
+4
source share
1 answer

Your team set xtics 0.000001usually indicates an increment of 0.000001. However, when you use the logarithmic axis, the increment value changes. Instead, it becomes a multiplier. Therefore, instead of the difference between each main tick, this is the ratio between them.

, , , 1. 1, .

, tic - , .

+4

Source: https://habr.com/ru/post/1544350/


All Articles