Questions tagged [ticks]

The tag has no usage guidance.

17 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3 votes
0 answers
288 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 ...
Akantor's user avatar
  • 51
2 votes
0 answers
66 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{...
Carucel's user avatar
  • 1,035
2 votes
0 answers
258 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.
Vitor Ribeiro's user avatar
1 vote
0 answers
13 views

Adding labels and ticks to chronodex

Upon @MS-SPO's suggestion, I've included the refactored code here. I still need to add some ticks, labels indicating time and nodes for hours (12, 3, 6, 9). I did figure out adding nodes but they aren'...
crypto's user avatar
  • 697
1 vote
0 answers
22 views

pgfplot yticks missing depending on values of ymin and ytickdistance

I have the following minimal exmaple: \documentclass{standalone} \usepackage{pgfplots} \begin{document} \definecolor{mycolor1}{rgb}{0.85000,0.32500,0.09800}% \definecolor{mycolor2}{rgb}{0.92900,0....
Marc Hüttenberger's user avatar
1 vote
0 answers
31 views

Connect 2 nodes with an arrow from different figures

I am trying to connect 2 nodes from 2 different figures; is there a solution? this is my attempt. \documentclass [conference] \usetikzlibrary{tikzmark, shadows.blur,arrows.meta,bending, shadings, ...
bighero's user avatar
  • 11
1 vote
0 answers
33 views

Is there a way to center the output of this assessment table custom environment?

The custom environment is created in the answer by Niel de Beaudrap here: Assessment table. However I can unfortunately cannot center the table in my tex file. I have tried to use centering, \begin{...
Dhruvin Doshi's user avatar
1 vote
0 answers
21 views

Error in grid of log scaled .tikz file generated by matlab2tikz

I have generated a tikz file by matlab2tikz. The figure has grids in log mode. However, it does not show the grid at 2x10^7 although xmax=3x10^7, as shown here: When I increase the xmax=4x10^7, it ...
vefa's user avatar
  • 43
1 vote
0 answers
122 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 ...
Joe's user avatar
  • 8,960
1 vote
0 answers
764 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 ...
D. Bakhuis's user avatar
1 vote
0 answers
159 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 ...
Georg's user avatar
  • 11
1 vote
0 answers
67 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 ...
user2536125's user avatar
  • 1,165
0 votes
0 answers
26 views

Reducing tick label size locally with the anyfontsize package

I'm trying to reduce the size of the tick labels for these figures. So far, I used the anyfontsize package, but got this behavior in which the left figure has the intended tick label size, but all the ...
jn_br's user avatar
  • 1
0 votes
0 answers
184 views

Setting y axis discontinuity at a certain value

I got the following diagram, that I want to make discontinous at a certain value, so that the "unneccessary" parts are skipped. I already tried adding an "axis y discontinuity", ...
AnInterestingName's user avatar
0 votes
1 answer
80 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{\...
etrusks's user avatar
  • 53
0 votes
0 answers
157 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,...
Jokerp's user avatar
  • 123
0 votes
0 answers
274 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 ...
Nino Cangialosi's user avatar