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
0 votes
2 answers
55 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: ...
Jorge Castaño's user avatar
1 vote
1 answer
68 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
  • 249
8 votes
2 answers
311 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
  • 249
1 vote
1 answer
62 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
35 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
46 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
  • 465
1 vote
0 answers
64 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
  • 3,959
2 votes
1 answer
39 views

Displaying percentage in customized ticks

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

Inverting y-axis with customized ticks

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

How to avoid ticks and labels from overlapping

Consider the following code ...
sam wolfe's user avatar
  • 4,179
3 votes
1 answer
194 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,179
1 vote
0 answers
78 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 ...
level1807's user avatar
  • 1,680
3 votes
1 answer
91 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
  • 65.8k
2 votes
1 answer
60 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
102 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
  • 441
4 votes
1 answer
131 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
200 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
236 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
  • 169
0 votes
1 answer
50 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
  • 169
3 votes
1 answer
78 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
41 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,366
4 votes
3 answers
175 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
109 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
47 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
  • 811
2 votes
1 answer
59 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
77 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
109 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
161 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,480
2 votes
1 answer
83 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
65 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
58 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
  • 689
1 vote
2 answers
91 views

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

I use this code ...
sara96's user avatar
  • 153
5 votes
2 answers
349 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
  • 150
0 votes
2 answers
135 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
  • 150
5 votes
1 answer
110 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
95 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
116 views

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

...
MMA13's user avatar
  • 4,265
0 votes
0 answers
72 views

Change ticks style

Consider the following frame ticks and plot: ...
John Taylor's user avatar
  • 4,642
2 votes
0 answers
81 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
124 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
134 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
42 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
  • 153
1 vote
1 answer
85 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
166 views

Ticks showing only partially or not at all

I have the following code: ...
Iosif Pinelis's user avatar
1 vote
1 answer
96 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
165 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
55 views

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

Consider the following plot: ...
John Taylor's user avatar
  • 4,642
1 vote
0 answers
51 views

Automatic alignment of FrameTicks is not working properly

In a normal plot in mathematica, the ticklabel is automatically changing its position if the length of the tick changes. Here is an Example: ...
mathematica_guy's user avatar
2 votes
1 answer
164 views

How to set Frameticks properly?

I want to do a MatrixPlot and set the ticks to be from $-1$ to $1$ for both axes. Here in this (post Specify and rename ticks in FrameTicks) it is said FrameTicks work in this way ...
Apocalypse's user avatar

1
2 3 4 5
8