People who code: we want your input. Take the Survey

Questions tagged [ticks]

The tag has no usage guidance.

14 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
251 views

Pgfplots: Draw time-series without missing data

I have time-series data which I want to draw with pgfplots. The data only covers weekdays, thus no weekends. Still pgfplots inserts new ticks for datapoints having essentially no data, this results in ...
2
votes
1answer
47 views

How to define specific styles for each tick?

I want to change the style (such as color, font, size and shape of tick mark) for each tick. In this example I want to change the color of the numbers (2,3,4) to something different and define a ...
2
votes
0answers
170 views

How to setup tikz/pgfplots to not put ticks labels outside the axis area?

I have the following figure: I want to remove the -5 tick label or any tick label that is outside of the axis area by default using \pgfplotsset. Is there any way to do that.
1
vote
2answers
204 views

histogram ticks alignment

I'm trying to create a histogram in latex but the ticks are not aligning with the bars and i'm not sure why. this is what i have so far: \documentclass[12pt]{article} \usepackage{fancyhdr} \...
1
vote
0answers
27 views

Minor log y ticks dissapear randomly

Does anybody know how to force y log minor ticks? In the following example, the ticks do show up: \documentclass{standalone} \usepackage{pgfplots} \begin{document} \begin{tikzpicture} \begin{...
1
vote
0answers
51 views

How to offset and fill extra tick labels with same size boxes

in the code provided below, I wanted the extra x tick labels to show up better by including an opacity filled box around the text so that the text shows up better with the boxes above the x-axis and ...
1
vote
0answers
581 views

pgfplots log axis to show linear style tick labels

I have created a semilogxaxis to plot my data, however I have problems showing the ticks on the x-axis the way I want. At the moment, the ticklabels are shown in the 10^n notation, however I prefer ...
1
vote
0answers
106 views

yticks right aligned

I have a problem with a tikz-picture concerning yticks. The plot contains two y-axes and it seems as if tikz cannot cope with that properly. I have already found this link (Aligning ticklabels in ...
1
vote
0answers
66 views

Control yticks using a mathematical formula

I am trying to define the yticks using a mathematical function of $ymin$ and $ymax$. Although the $y_{min}$ $y_{max}$ are known, I can't insert explicit values for yticks because I have to do this ...
0
votes
1answer
28 views

How can I make \newcommand work together with \ticknum

I'm trying to make a lot of different variations of PGFplots label styles so I'm trying to define different values and use \ticknum to pick one of them for example \newcommand{\x0}{0.3} \newcommand{\...
0
votes
0answers
45 views

Adding axis ticks to a PDF in Latex

I have been trying to find a way to add axis ticks and axis label on a PDF. Thus far I have only found a way to add the axis label. Could someone help me? I am trying to go from this: to axis ticks,...
0
votes
1answer
52 views

Disabling scaled x ticks causes “Dimension too large” in pgfplots

I want to change my x axis tick labels to read 0K 20K 40K 60K 80K similar to my y axis tick labels in this chart: My LaTeX MVP generating the image: \begin{filecontents*}{data.csv} iter;prod 0;-...
0
votes
1answer
77 views

Removing ticks from top, bottom and right-hand side of column chart and rename x-axis labels

I am trying to make a nice looking histogram of my data, and have managed to produce the following so far: \begin{tikzpicture} \centering \begin{axis}[ ymin=0, ymax=8000, minor y tick num = 2,...
0
votes
0answers
167 views

pgfplots: Reduce number of minor ticks in a log log plot

I want to reduce the number of ticks in my log log plot to exactly 3. But I can't tamper with the max space between ticks option, otherwise I'll lose the minor ticks on the y axis. I tried to give ...