Skip to main content

Questions tagged [ticks]

The tag has no usage guidance.

18 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3 votes
0 answers
299 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
74 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,045
2 votes
0 answers
288 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
22 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
  • 757
1 vote
0 answers
29 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
54 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
31 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
176 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
  • 9,080
1 vote
0 answers
919 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
204 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
68 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
31 views

TikZ environment ignores vertical axis range

I am attempting to create a TikZ graph where the vertical axis ranges from 0 to 1, and tick points at 0.33 and 0.67 with corresponding labels. \begin{tikzpicture}[scale=0.75] \begin{axis} [...
David A. Lee's user avatar
0 votes
1 answer
51 views

Why last xtick of my PGFPlots graph is not showing?

I'm trying to draw a graph in Overleaf. I'm using this template that I found online: \begin{tikzpicture} \begin{axis}[ title={C++ Threads performance}, xlabel={Number of particles}, ylabel=...
Giovanni Casini's user avatar
0 votes
0 answers
459 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
118 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
165 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
304 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