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.

3
votes
1answer
33 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
62 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
40 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 ...
2
votes
1answer
36 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
64 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
44 views

How to force FrameTicks labels to be nonlinear?

I want to make a color bar with nonlinear scale , with code ...
5
votes
0answers
60 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
107 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
85 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
31 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
53 views

Ticks command is not working for one axis

...
4
votes
2answers
64 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
126 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
106 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
81 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
64 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
45 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. ...
1
vote
2answers
116 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
22 views

How to move a single TickLabel

my code is ...
1
vote
1answer
47 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
301 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
29 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
67 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
27 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
69 views

Proper use of DataRange in ListPlot3D

The user of Mathematica version 9 is trying to plot the following experimental data: ...
1
vote
1answer
67 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
116 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: ...
7
votes
2answers
193 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 tickmarks pointing out from the axes away from the center of the figure. ...
1
vote
3answers
495 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
46 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
92 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
88 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
30 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"]]]] ...
3
votes
0answers
157 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
126 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
205 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 ...
0
votes
1answer
150 views

Frame ticks go missing when I give the option ScalingFunctions

I've been attempting to use ScalingFunctions to scale the y-axis of my plot by $10^{10}$, however when I do, the frame ticks disappear and I'm not sure how to get ...
4
votes
1answer
154 views

What is the default tick mark function for FrameTicks?

According to the documentation of Ticks, a ticks function The tick mark function func[Subscript[x, min],Subscript[x, max]] may return any other tick mark ...
2
votes
1answer
222 views

FrameTicks with a tick mark function breaks PDF-Export

I seem to have a problem with the export of plots to PDF when using the FrameTicks option. Using the example from the documentation: ...
0
votes
2answers
52 views

Change the ticks or labels on the x, y and z axis on 2d and 3d graphs to a label [closed]

I have ticks on x axis at 1, 2, 3, 4, 5, 6 and 7. I want to change the 1 to Africa, the 2 to Asia etc. The Y axis needs to be changed from 1 to <\$10,000, 2 to \$10,000 - \$30,000 etc. I can do ...
3
votes
2answers
405 views

How to rescale x axis

Please suggest how to rescale x axis by t0: I am trying to plot given below exponential. ...
2
votes
0answers
93 views

ListLogPlot ignores FrameTicks specification

Bug existing in 10.4.1, fixed in 11+ I have a data set ...
0
votes
1answer
264 views

Adding custom ticks/labels to x-axies

I have the following plot: Generated using the following code: ...
5
votes
2answers
356 views

Control the tick marks in BarLegend

Consider a BarLegend showing a smooth gradient, like this one: ...
5
votes
3answers
265 views

Control the number of decimal digits in custom ticks

Let's define a custom colorbar ...
5
votes
1answer
184 views

Remove the label from a default tick

How can I delete tick labels -2 and 2 so that the values -1.8 and 1.8 doesn't overlap with each other; i.e., I want to keep the ticks at -2 and 2, but not their labels. This is the code I am using: <...
2
votes
1answer
62 views

Problem with tick mark position

I am plotting this piecewise function: $$\rho (x,0) = \rho_{max} \text{ if } x \leq 0 $$ $$\rho (x,0) = 0 \text{ if } x>0. $$ I used this code ...
1
vote
0answers
50 views

TickMarks get different length inside function plotGrid

Mathematica 11.2 or earlier: I want to create a grid of plots and found this one by Jens excellent: https://mathematica.stackexchange.com/a/6882/245 : ...
1
vote
2answers
144 views

Style ticks individually

Is there any way to style individually ticks in Plot3D? I want to draw xmin ticks in a ...
2
votes
1answer
58 views

How to label group of ticks?

I am plotting a matrix in 3D and what I did so far is this: So, what I would like to do now is to add different labels to group of ticks, in this way: Even only on the bottom axis is perfect. The ...