Skip to main content

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
11 votes
0 answers
202 views

Tick functions not working in 14.0.0?

Consider the code ...
sam wolfe's user avatar
  • 4,863
5 votes
1 answer
234 views

Color gradient to ticks in a plot

Simple question, but I did not find the answer anywhere: Is it possible to add a color gradient to the ticks in a plot? For example, imagine to have a density plot where some areas are very dark and ...
Lele's user avatar
  • 428
0 votes
2 answers
83 views

Automatic FrameTicks with MaTeX style

I'm currently working on generating several function plots and have been using the following code as a template: ...
Albus Black's user avatar
1 vote
1 answer
95 views

Specifying tick values and keeping minor ticks

I am unsure how to keep the minor ticks when I specify the tick values. For instance, consider the MWE ...
Bell's user avatar
  • 373
8 votes
2 answers
347 views

Remove decimal point in ScientificForm

I am trying to remove the decimal point displayed on the y-axis ticks. At the very least, a zero should follow the decimal point. I have included a MWE below. ...
Bell's user avatar
  • 373
1 vote
1 answer
64 views

No ticks on y-axis after scaling

I try to scale the x-axis with ScalingFunctions options to make the curve look a line. But I dont see y-axis's ticks. ...
user2272592's user avatar
2 votes
1 answer
39 views

How can I change the thickness of the ticks on the right and top axes of a plot?

I want to change the ticks on the right and top axes on a plot like this example: ...
00123456's user avatar
2 votes
1 answer
50 views

Make rotated labels to be the near position of ticks?

When rotate the tick labels, the labels will be centered at the tick position. ...
Y. zeng's user avatar
  • 567
1 vote
0 answers
94 views

Tick marks: How to force powers of 10 in a ListPlot with logarithmic scale?

I'm sure this is very simple to do, but I'm yet unable to find the trick. Here's a simple ListPlot with a Log scale on the horizontal axis: ...
Cham's user avatar
  • 4,093
2 votes
1 answer
47 views

Displaying percentage in customized ticks

Consider the following plot, where the ticks were customized ...
sam wolfe's user avatar
  • 4,863
2 votes
1 answer
47 views

Inverting y-axis with customized ticks

Consider the following tick-styling function ...
sam wolfe's user avatar
  • 4,863
0 votes
0 answers
132 views

How to avoid ticks and labels from overlapping

Consider the following code ...
sam wolfe's user avatar
  • 4,863
3 votes
1 answer
202 views

How to get matplotlib-type ticks? [closed]

Consider the following plot, obtained with the Python plotting library matplotlib: Is it possible to get the plot ticks to have this same style in a Mathematica ...
sam wolfe's user avatar
  • 4,863
1 vote
0 answers
95 views

Missing frame ticks after removing tick labels

In this solution by @Mr.Wizard, some of the ticks along the bottom edge of the frame are clearly missing. This happens every time I use Charting`ScaledFrameTicks. Is there a fix? For reference, here ...
Alex Bogatskiy's user avatar
3 votes
1 answer
101 views

Tick control when using PlotLayout

I finally installed 13.3 coming from 12.3 and I was giving some new features a test. I was excited by the new PlotLayout feature of ...
MarcoB's user avatar
  • 67.3k
2 votes
1 answer
64 views

Displaying FrameTicks Only on Specified Axes [closed]

I am trying to make a plot with FrameTicks and I would like to have them displayed only on the left and bottom axes. However, the way I wrote the definition, it ...
Christian's user avatar
  • 123
2 votes
1 answer
113 views

Applying string to ticks along X axis

I need to plot a dataset with the x-axis ticks as character (String) instead of conventional number. How can I do it? Here is my data and code: ...
P Pyne's user avatar
  • 453
4 votes
1 answer
138 views

Using Frame, display all of the ticks but labeling only one

I have a figure displayed by the following code: Plot[x^2, {x, 0, 1}, Frame -> True, FrameTicks -> {{Automatic, None}, {Automatic, None}}] However, I ...
Vicente Sierra Rosas's user avatar
5 votes
2 answers
217 views

Is there a way to add a tooltip to points on the x axis?

I have a list of values associated with the xaxis, but I do not want to plot them as y values. Rather I want to do something like "TickLabels" in Matlab, but make them Tooltips (because they ...
Indiana's user avatar
  • 331
3 votes
1 answer
378 views

LaTeX typeset for the frame ticks

Following this site, I inserted a LaTeX type set for the frame ticks. Following is the sample code. ...
Rakesh's user avatar
  • 179
0 votes
1 answer
57 views

How to embolden frame ticks?

For the following sample plot, how can I make the FrameTicks appear bold in black color? . Following is the sample code: ...
Rakesh's user avatar
  • 179
3 votes
1 answer
89 views

How to control at what edges of the Plot3D box the AxesLabels show up?

I am making a Plot3D for an illustration. In this case, I have to find a ViewPoint which best shows the plot peculiarities. Sometimes, after the good ViewPoint has been found the plot hides some of ...
Alexei Boulbitch's user avatar
1 vote
0 answers
43 views

Plotting in a 'shiftlog' scale

I want to plot a function, whose natural behavior goes like $$ f(x) \sim (x - a)^\alpha $$ I.e. it's a power function, but with the argument shifted by $a < 0$. Thus, I feel like it's natural to ...
user16320's user avatar
  • 2,396
4 votes
3 answers
190 views

Reverse numbers and tick on shifted plot y-axis

Consider the graph produced by the following code ...
flyingmind's user avatar
0 votes
1 answer
116 views

Replicate ticks in log scale [closed]

I'm trying to understand the idea and (possibly) replicate myself how Mathematica generate ticks. For a linear scale it is simple enough: one can use FindDivisions ...
LittleCat1's user avatar
0 votes
1 answer
52 views

Manipulation axes in plot

If I have the following, DensityPlot[x Sin[y], {x, -5, 5}, {y, -5, 5}, Frame -> False, Axes -> True, AxesStyle -> {Red, Blue}] and the output is is ...
a019's user avatar
  • 867
2 votes
1 answer
66 views

Need frame ticks on all sides and the y-axis to be in scientific notation

I am trying to make a plot that has frame ticks on all sides and the y-axis needs to be in scientific notation. I can get it to do one or the other, but not both. Please help! ...
Anne's user avatar
  • 21
1 vote
1 answer
85 views

Putting a framed legend in this plot?

How can I make a framed legend in the question answered by Alex here: Numerically solving a system of SDE's with Levy noise? When I try the "normal" way, it doesn't do anything. The code:...
Math's user avatar
  • 407
5 votes
0 answers
114 views

How do I change the orientation of tick marks in a 3D plot?

I'm putting together a series of plots for a paper I'm writing and they're not coming out quite right. Here is an example of one of them: ...
TSIC333's user avatar
  • 51
7 votes
2 answers
174 views

How can we keep the default frame tick style when using PlotLayout

If we make a framed plot Plot[Evaluate[Table[BesselJ[i, x], {i, {2, 5, 10}}]],{x, 0, 50}, Frame->True, AspectRatio->1/2, ImageSize->Automatic->300] ...
user27119's user avatar
  • 2,520
2 votes
1 answer
89 views

How to correctly stack the two figures in this problem ?

I am trying to get double x axis by Overlay. But with the following code: ...
Hunter's user avatar
  • 31
1 vote
0 answers
67 views

a plot with two x-axis :one for mass in eV and the other for frequency in MHz

I'm now confused by the problem that as I was planning to draw a plot with two x-axis :one for mass in eV and the other for frequency in MHz (Note that 1MHz=6.58×10^(-10) eV is taken here), I can't ...
Hunter's user avatar
  • 31
3 votes
2 answers
61 views

Is it possible to display numbers in the form of infinitely repeating decimal fractions $0. \bar{1}$ as ticks in a plot?

I want to show the infinitely repeating decimal fractions in these explicit forms $0. \bar{1}$ and $0. \bar{2}$ as Thicks in a plot; is it possible to do that? If ...
math2021's user avatar
  • 749
1 vote
2 answers
100 views

How to specify/change the vertical ticks in the given picture?

I use this code ...
sara96's user avatar
  • 153
6 votes
2 answers
412 views

How to label the origin as (0, 0) instead of (0.0, 0.0)

I am plotting a function by the following code: Plot[x^2/5 + 1, {x, 0, 3}, AxesOrigin -> {0, 0}, PlotRangePadding -> 0, PlotRangeClipping -> False] ...
Ya He's user avatar
  • 160
0 votes
2 answers
178 views

How to make Mathematica label the origin when plotting several functions [duplicate]

I am plotting three functions using the following code: ...
Ya He's user avatar
  • 160
5 votes
1 answer
121 views

Displaying all ticks when showing a grid of plots with PlotLayout

When you display a grid of graphs in the same Plot using PlotLayout, for example through ...
Cailean Wilkinson's user avatar
2 votes
2 answers
122 views

Customizing a RegionPlot

I would like to customize the RegionPlot with the following: Add text ticks to the RegionPlot Change ...
Chin Ching CHAN's user avatar
2 votes
1 answer
140 views

Why does the space between ticks and frame on x and y axes is different?

...
MMA13's user avatar
  • 4,732
0 votes
0 answers
75 views

Change ticks style

Consider the following frame ticks and plot: ...
John Taylor's user avatar
  • 5,827
2 votes
0 answers
82 views

Broken FrameTicks

I am currently trying to understand Ticks. Ticks or Frameticks are defined in the following way: {{x1,label1,len1},...} tick marks with specified scaled length ...
mathematica_guy's user avatar
8 votes
1 answer
141 views

Explicit length of ticks in a Plot

Ticks or Frameticks are defined in the following way: {{x1,label1,len1},...} tick marks with specified scaled length With the following information: ...
mathematica_guy's user avatar
3 votes
1 answer
144 views

Remove tick marks but keep labels for 3D plot

I have the following image where I have used Ticks -> {{{-0.75, "\[Pi]/4"}, 6, {-8, "Sun"}, 10}, {}, {}, {}}, to mark important points on ...
asorlik's user avatar
  • 117
1 vote
0 answers
26 views

Plotting data with a second x axis of ticks for fractionated data

I have a dataset which is a list of 37,473 {x,y} pairs, in the format of {{0,1},{1,2},{2,3} ... }. It is an elution profile where the x value is mL and the y value is absorbance. Lets call an example ...
Joshua Sanders's user avatar
0 votes
0 answers
46 views

Problem with ticks in LogLinearPlot

When I plot some function using the Plot command, I obtain the expected result: Nevertheless, when I try to do the same but in logarithmic scale for the x axis, using LogLinearPlot, I obtain the ...
TopoLynch's user avatar
  • 195
1 vote
1 answer
111 views

Custom positioning of axes ticks in ContourPlot3d

I had a quick question regarding tick placement in 3D plots. Is there a way to change the positioning the placement of ticks in ContourPlot3D? For instance, I want ...
Bhavesh Shrimali's user avatar
6 votes
1 answer
191 views

Ticks showing only partially or not at all

I have the following code: ...
Iosif Pinelis's user avatar
1 vote
1 answer
132 views

Details about 'Charting`ScaledTicks' and double axes

I am plotting the data from a sensor; the vertical axis shows the force F, and the horizontal axis corresponds to time. I would like to have a secondary vertical ...
surrutiaquir's user avatar
6 votes
1 answer
173 views

Why do the displayed ticks from a Plot of a function not match the ones extracted through Charting`FindTicks in this case?

This is my first time to post here, so please bear with me as I learn how to post and format properly ... I've been using Charting`FindTicks to get a list of the ...
BenKolt's user avatar
  • 101
1 vote
1 answer
56 views

How to make the Ticks mark for particular values of coordinate longer than other?

Consider the following plot: ...
John Taylor's user avatar
  • 5,827

1
2 3 4 5
8