Aug 4, 2014 · You can remove the tick labels with set format x '', but that still leaves the xtics at the bottom. In my opinion, the best way is to use only the x2-axis
Sep 18, 2008 · Hi, I've made a histogram. Now, the tics on the x-axis are a little bit ugly (they are just in between two bars). So, I would like to remove the xtics, but to keep the labels . unset xtics also removes labels . Is there a way to remove tics , but keep the x- axis labels ?
Oct 18, 2026 · The set tics command in Gnuplot manages tic marks and labels across all axes. Users can disable tics using the unset tics command and reactivate them with set tics , which is the default. As data grows, cluttering of x- ticks becomes an issue. To avoid this, users can limit major x- ticks to a specific count, such as five. When improving tick visibility, Gnuplot offers commands to customize ticks ...
If the data type for the axis is time/date, the format string must contain valid codes for the 'strftime' function (outside of gnuplot , type " man strftime "). See set timefmt (p. ) for a list of the allowed input format codes.
The highlighted line simply tells gnuplot to not draw tics ; we still get a border around the plot, but no tic marks, and consequently, no numerical labels on the axes.