Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

4
votes
0answers
53 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
90 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
82 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
29 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
49 views
4
votes
2answers
60 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
86 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
103 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
77 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
52 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
42 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
106 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
44 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
268 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
28 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
49 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
24 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
61 views

Proper use of DataRange in ListPlot3D

The user of Mathematica version 9 is trying to plot the following experimental data: ...
1
vote
1answer
60 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
106 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
178 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
408 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
0answers
15 views

White font labels on densityplot [duplicate]

I have density plot ...
0
votes
1answer
43 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
77 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
79 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
29 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
142 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
111 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
179 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
120 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
140 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
198 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
45 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
339 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
84 views

ListLogPlot ignores FrameTicks specification

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

Adding custom ticks/labels to x-axies

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

Control the tick marks in BarLegend

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

Control the number of decimal digits in custom ticks

Let's define a custom colorbar ...
5
votes
1answer
174 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
57 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
43 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
134 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 ...
3
votes
1answer
55 views

Is there a way to display plus sign near the positive the tick values?

Let's say I have a code like shown below: ListPlot[{{1,1},{2,1},{3,-1},{4,-1}}] An output is shown on the figure. The "-" (minus) sign is shown near the ...
2
votes
2answers
554 views

How to increase length of minor and major ticks of a frame?

Following is the mathematica command I am using to obtain a contour plot(attached). I see that the length of minor and major ticks are very small. What is a good command to increase the length of both ...
0
votes
1answer
290 views

Set different colors for tick labels?

Is it possible to set different colors for individual ticks? I have a few differently colored arrows and I'd like to show their coordinates in different colors. Here, the two ticks on the X-axis ...
1
vote
1answer
56 views

Left justified text when using FrameTicks [duplicate]

I want to draw a MatrixPlot and replace the FrameTicks with cities names, as shown bellow. The problem is that ...
1
vote
0answers
51 views

How to change the distance between individual ticks on my axis? [duplicate]

I have a small deal of experience with Mathematica for the use in physics and am in no capacity an expert. My issue is that I am creating a discrete plot that has data at very large distance from ...