Questions tagged [ticks]

Ticks is an option for graphics functions that specifies where tick marks are placed on axes. It includes options for automatic placement, specific positions, as well as styling options.

Filter by
Sorted by
Tagged with
1
vote
1answer
26 views

Tick label rotation does not work with log scale?

I have the following example code that produces a contour plot with logarithmic scales. I now want to rotate the x-axis labels, since they are overlapping. I found a solution on the internet, but it ...
1
vote
2answers
47 views

Scale ticks of a LogLinear Plot

I have LogLinear plots for which I want to scale the ticks on the x-axis. The following MWE, which works for the linear plot is showing ticks at the wrong positions for the LogLinear plot ...
2
votes
1answer
38 views

Drop some of the Automatic ticks

Is there a way to drop some of the ticks automatically produced by Mathematica in a 3D plot? I would like to drop, say, the first one of the z-axis since it overlaps with the last one of the y-axis.
8
votes
1answer
156 views

Axes with Ticks in ArrayPlot

I am trying to place axes into ArrayPlot. I would like to get something that looks like this: So in addition to the Frame and <...
4
votes
2answers
110 views

Changing tick labels to percent

Suppose I have a graph with y values between 0 and 1 (say). How would I go about changing the tick labels to percentage (so that 0.1 would go to 10%, and so on)? Documentation seems silent on this ...
0
votes
0answers
35 views

How to modify the horizontal ticks in a LogLinearPlot? [duplicate]

Using the following code, ...
1
vote
1answer
28 views

Adding custom labels to FrameTicks. How to do that?

Here is my code: xticks = {{1 -> "Country"}, {2 -> "Classic"}, {3 -> "Pop"}, {4 -> "Rock"}}; ListPlot[{101.861, 101.971, 97.796, 98.541}, Joined -> True, PlotRange -> {{1, 4}, {97, 103}}, ...
0
votes
0answers
41 views

How to make ticks longer? [duplicate]

Good time of day. I want to make ticks longer but cannot. Here is the code ...
1
vote
2answers
104 views

Increasing the length of frame ticks

I know that I can manually adjust the frame tick length using FrameTickStyle. However, is there a way to globally increase the tick length?
3
votes
2answers
71 views

Divide `Graphics` `Line` into `i` equal lengths

I have a line given by ...
2
votes
1answer
70 views

Rotate Ticks ( I was wondering if I could rotate the tick 90 degree without frame)

I was wondering if I could rotate the tick 90 degrees without a frame I appreciate any help because it is worth a lot ...
0
votes
1answer
33 views

Set the intervals of the ticks

I have a list of data: {{{11, 0.364743}}, {{16, 0.00009956}}, {{21, 1.47878*10^-8}}, {{26, 9.73444*10^-13}}, {{31, 1.01608*10^-12}}, {{36, 1.99663*10^-12}}} ...
6
votes
1answer
98 views

Highlight Ticks in a more economic way

My question is about the Ticks function in the Plot framework. If I want to plot a function and highlight a certain behavior, e....
1
vote
1answer
88 views

Why “Modern Latin Math” font messes my plot?

I just download the Modern Latin Math font from here to have a consistent font with my LaTeX text. The font is exactly what I am looking for. But when I use it for my plot it messes the gap between ...
3
votes
1answer
45 views

How to split overlapping values from different axis?

There are overlapping numbers in the plot below (the left down corner). The axis $T_e$ has the value $10^{0}$, and the axis $n_i$ has $10^9$. But the problem is that the values are imaged in the same ...
0
votes
0answers
147 views

Aligning plot axes of multiple figures results in different size of the FrameTicks

I defined a new FrameTicksStyle, but their size is changed when more than one figure are stacked vertically. However, the size is accepted when figures are stacked ...
1
vote
1answer
55 views

Three questions to customizing `Ticks` in `Plot`, `LogPlot` and `LogLogPlot`

When making a plot, sometimes I would like to alter the ticks and labeling of the ticks, in particular when doing a LogPlot or ...
5
votes
1answer
53 views

Missing ticks and numbers on a plot when using JLink + Mathematica 11.3

I am facing a pretty random problem using JLink (Java) connected to a Mathematica 11.3 kernel and front-end. Basically I want to get an image using the JLink Java method ...
2
votes
3answers
167 views

How to shorten or remove the “tick marks” below a BarChart?

I am trying to make those downward "tick marks" below the horizontal axis of a BarChart shorter or removed. They look very crowded in a figure like the following ...
3
votes
1answer
49 views

How to force FrameTicks labels to be nonlinear?

I want to make a color bar with nonlinear scale , with code ...
5
votes
0answers
71 views

FrameTicks in DateListPlot doesn't support “All” in Mathematica 12

In mathematica 12, DateListPlot[{1, 1, 2, 3, 5, 8, 11}, {2000, 8}, FrameTicks -> All] gives And the error message is A ticks specification in the value ...
5
votes
1answer
146 views

Automatically rotate frame ticks labels

Say in ListPlot[Range[0, 1, 0.1], Frame -> True] I want the tick marks on the vertical axis to be rotated 90 degrees. How to do it automatically, preserving ...
3
votes
3answers
93 views

How can I put common frame ticks on the leftmost of a row of graphics?

I have a function which plots a response behavior of model variables holding a reference value constant (the green dot in the examples below) over a common PlotRange (achieved by plotting the ...
0
votes
0answers
36 views

Frame ticks of a Plot

When I Plot my function (under Plot command) it is seen that all the Frame ticks along Y axis shows the only value -1 but the Graph is okay.I used FrameTicks-> Automatic. However, along X axis it ...
-1
votes
3answers
62 views

Ticks command is not working for one axis

...
4
votes
2answers
68 views

How can I make a NumberLineLogPlot'?

I have a piecewise function that is defined in logarithmic intervals, i.e., the different pieces are defined on ...
4
votes
1answer
270 views

Add minor ticks to custom ticks

So as of now I am using Ticks -> {Range[0, d, 1]} where d is the maximum value for my axes. But the thing is that ...
8
votes
1answer
110 views

How to add inner ticks to a PieChart?

I know how to add Callouts to the outside of a PieChart, but I would like to add inner ticks like this: Note the 3, 6, 9, 12 ...
5
votes
0answers
93 views

ListLogPlot fails if Dynamic Updating not enabled - Ticks specification?

MMA 11.0.1.0 Win 10 64 bit; MWE ListLogPlot[Exp[Range[10]]] With Dynamic Updating Enabled, result is correct. Without it MMA complains "Tick specification must ...
1
vote
1answer
120 views

Keep ticks but change interval for labels

I have a basic 2D plot Plot[x^2, {x, -20, 20}, PlotRange -> {0, 30}, Ticks -> {Range[-20, 20, 1], Range[0, 30, 1]}, ImageSize -> 1000] I have added ...
1
vote
1answer
48 views

Scaling the axes in ListDesnsityPlot

I have a matrix of size 800x600 in which each value is basically z value. This matrix is stored in text file. I want to import the file in Mathematica and plot it as DensityPlot using ListDensityPlot. ...
2
votes
2answers
144 views

How do I get Mathematica to show X = 0 (instead of leaving out this tick mark)?

I have no problem getting Mathematica to shift the origin in my Plot. What I have a problem with, however, is getting Mathematica to show the tick marks at the ...
0
votes
0answers
23 views

How to move a single TickLabel

my code is ...
1
vote
1answer
53 views

How to rotate TickLabels in DateListPlot

I tried to rotate my TickLabels with another contribution from this website. I load the package CustomTicks.m ...
4
votes
2answers
396 views

Making a contour plot constrained to a circle sector look like a polar plot

I have a contour plot which is a sector of a circle. In the standard form, it is plotted in a framed box (cartesian coordinate). But I want to plot it in a polar coordinate frame. I mean I want to ...
3
votes
1answer
34 views

Symbolic ticks with subscript - ListPlot

Is it possible to rename ticks with a name like this: "$0.125 \, V_{FS}$"? In the below code I wrote "$0.125 \, V$", I don't know how can I insert the subscript. ...
1
vote
1answer
162 views

Symbolic ticks on y axis and numeric ticks on x axis - Plot

When I insert the option Automatic or All, why are the ticks on x axis blank? ...
1
vote
1answer
37 views

Symbolic ticks on ListPlot

I tried to change the name of ticks of the y axis on a ListPlot with symbolic names with the following code (0.2 with ...
3
votes
1answer
96 views

Proper use of DataRange in ListPlot3D

The user of Mathematica version 9 is trying to plot the following experimental data: ...
1
vote
1answer
77 views

ListDensityPlot - Ticks on axis

I have a table of data of dimensions 150x51, each of the 150 points (frequency of a wave) corresponds to to 51 angles. I want to make a ListDensityPlot, and while ...
2
votes
2answers
132 views

How to customise ticks

I am trying to put specific ticks but in that process the minor ticks are not showing anymore. How to show the minor ticks as well. Here is an example: ...
9
votes
2answers
228 views

Issue with FrameTick marks in Mathematica 11.3

Bug introduced in 11.3 or earlier and fixed on 12.0. For a while I have been using the same code to make figures with tick marks pointing out from the axes away from the center of the figure. ...
1
vote
3answers
751 views

How to display Y axis in degrees

How to display on my Plot $Y$ axis in degrees? my function: Plot[ArcSin[A*Sin[x Degree]], {x, 0, 50}] I tried: ...
0
votes
1answer
47 views

Eliminate the difference in the way frame ticks look in a list plot vs a curve plot [closed]

How do I control the Frame Tick Style on all axes using Plot? I am seeking to control the Frame Tick style in two similar graphs, but I am getting different ...
1
vote
0answers
113 views

Is it possible to have axes ticks with frame?

For example, Plot[x^3, {x, -1, 1}] gives ticks on both axes, and Plot[x^3, {x, -1, 1},Frame->True] gives ticks on the ...
2
votes
2answers
115 views

BarLegend Label and ColorScheme

Probably the answer to this question is already elsewhere, but I have looked for it in the last couple of days and I have't found it. So, I have the following code: ...
0
votes
1answer
31 views

How to show a part of chart labes

I have such data data = Uncompress[FromCharacterCode[ Flatten[ImageData[Import["http://i.stack.imgur.com/ragWk.png"],"Byte"]]]] ...
10
votes
0answers
245 views

How to use Charting`ScaledTicks?

I found several topics about undocumented ScaledTicks function and tried to use this. Here is the first example: ...
1
vote
2answers
185 views

How to control the axis interval in ContourPlot [closed]

I have the following equation p = 1.6; α = 0.001; r = 0.6; η = 0.04; ω = 1; R ω p Sin[ω τ] + R ω p α - 9/4 r p R^3 ω - η p R == 0 If I use the following command ...
1
vote
1answer
250 views

Moving the ticks out of the plot

I've seen other questions around here and on the forum on Mathematica but none of them worked for me. The question is the same: how can I extract the ticks from the plot in order to not overlap to the ...