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.

learn more… | top users | synonyms

18
votes
3answers
1k views

Is it possible to position ticklabels on the negative y axis on its right side?

Is it possible to position ticklabels on negative $y$ axis on its right side? Ticklabels on positive $y$ axis should remain as usual:
15
votes
5answers
3k views

Styling ticks in a plot

I managed to turn the ticks inside-out but the ticks go now through the numbers. In fact I would like to have it like in the picture attached (ticks pointing outside the plot and no additional ticks ...
14
votes
2answers
1k views

How to get grid lines at all (log) tick marks in Version 10?

In Version 7 using GridLines -> Automatic (or All) would put a grid line at every log-spaced tick mark: ...
14
votes
4answers
753 views

How to remove ticks?

I wanted to remove the Ticks in my coding but i can't. Here when i try to remove the Ticks the number also gone. I need numbers ...
13
votes
4answers
2k views

Changing the tick labels in a BarLegend

In the following plot, the colors mean the phase, so I need to label the color bar not in integers, but in increments of $\pi$. I searched, but could not find how to change the ticks. Does anyone have ...
13
votes
2answers
430 views

Is FrameTicks broken in 10.1.0?

On my system, Mathematica 10.1.0 under Windows, none of these FrameTicks documentation examples work correctly: ...
13
votes
2answers
630 views

Diagonal Tick Marks

I would like to draw diagonal tick marks around a plot, and simultaneously rotate the tick labels as well. I've mocked up what this would look like: Is there an easy way to do this in Mathematica? ...
12
votes
1answer
779 views

Thickness of logarithmic tick marks

Bug introduced in 8 or earlier and persisting through 10.3 or later I'm trying to plot a graph wit a logarithmic y-axis. Since I'm exporting the graph to pdf and later printing it, I want to ...
12
votes
2answers
515 views

Putting ticks with values on a parametric plot

I need to plot ticks with values on the following ParametricPlot[] The ellipse can be obtained by ...
10
votes
2answers
1k views

Labels and tickmarks inside Frame

Is there a way to force Plot and related functions to place the tick labels inside, rather than outside a frame? For example, consider, ...
10
votes
3answers
577 views

Functional defined Ticks of LogLinearPlot does not work

Bug introduced in 10.0 and persisting through 10.3 or later version 10 $Version "10.0 for Microsoft Windows (64-bit) (June 29, 2014)" Consider three ...
9
votes
2answers
845 views

Customize your FrameTicks in a MATLAB way

The figure below is made by MATLAB. However, the scientific form of numbers in FrameTicks that how MATLAB deals with is quite different from that of Mathematica. ...
9
votes
1answer
455 views

FullGraphics ticks problem

In the document of FullGraphics, it promise to produce the same graphic result as the input one: ...
9
votes
3answers
627 views

Distorted graphics when using custom ticks and AspectRatio -> Full

Bug introduced in 7.0.1 or earlier and partially persists through 10.3.1 or later I am having a problem using custom tick specifications along with ...
8
votes
4answers
4k views

How can I manipulate the number of decimal places in the frame ticks?

Is there any simple way to increase or decrease the decimal places in the frame ticks. I want to make the y axis ticks of the first two and the second two graphs look similar.
8
votes
3answers
241 views

Ticks disappear in Graphics3D with Epilog

Bug introduced in 10.0.0 and fixed in 10.0.2 Normally, you can enable Graphics3D to show tick marks by doing this: ...
7
votes
3answers
986 views

FrameTicks and Ticks on Axes in Same Plot

I have a plot where I would like ticks shown on both the axes and the frame, with them labeled separately. I have custom labels for the frame and want the horizontal axis labeled with ticks ...
7
votes
2answers
289 views

Mesh at Ticks positions

In a ListPlot3D[ ] I want to have the Mesh at the same positions as the ticks. For some reason this isn't default if both are ...
6
votes
1answer
150 views
5
votes
1answer
339 views

Why doesn't FrameTicks work with Histogram?

An example: Histogram[RandomVariate[NormalDistribution[], 1000], PlotRangePadding -> 0, Frame -> True, FrameTicks -> {{{0, 0}}, {}}] I expected this ...
5
votes
2answers
1k views

how to change the distance between tick mark and tick label

On similar lines as Is there an option to change the space/distance between tick labels and axes labels for plots? but I would like to reduce the distance between the tick mark and the tick label that ...
5
votes
1answer
833 views

Preparing 2d plots for publication

When it comes to plotting a data my general attitude is to avoid post processing (say with adobe illustrator) as much as possible. To follow this strategy I would like to prepare publication-ready pdf ...
4
votes
2answers
2k views

How to increase the number of minor ticks in a plot?

I want to increase the number of minor ticks in a plot, but I don't want to label them. I searched through this site and also Mathematica documentation, but I didn't find any solution yet. Could ...
4
votes
1answer
338 views

Formatting ticks of axes to scientific format and modifying the labels [duplicate]

I was trying to plot a function, but had a problem with the tick labels staying close to each other (top plot). DiscretePlot[RmvsB[b], {b, bmin, bmax, bstep}] ...
4
votes
1answer
5k views

Making axis numbers larger on Mathematica plot

I want the numbers along the axis to be larger than the default value. Can this be done? The reason I am asking is because I frequently make charts in Mathematica and use them in Word. I export ...
4
votes
1answer
181 views

Padding plot ticks with zeros on the right

I would like to know how can I make a real-valued plot tick pad with a zero to the right of the decimal point on integer values. This is what I have: ...
4
votes
2answers
785 views

Getting consistent tick lengths and positions of labels

Bug introduced in 7 or earlier and persists through 10.3.1 or later I'm trying to have identical tick mark lengths for both horizontal and vertical ticks and I wish them to look outside of the plot ...
4
votes
1answer
262 views

Package for nonlinear plot coordinates

Is there a package for plotting in nonlinear coordinates? I mean that I provide coordinate transformation functions {xi(x,y), eta(x,y)}, for example ...
4
votes
0answers
39 views

How to set Ticks for an AngularGauge?

How do you set custom ticks on an AngularGauge. ...
3
votes
3answers
156 views

Use custom frame ticks on an image

I chose as an example a familiar figure! img = Import["Lena.jpg"]; Now let's confine her inside a frame ...
3
votes
4answers
214 views

Controlling the placement of the y-axis

I use ListPlot for showing the results of my numeric computation. I make my own ticks, so I never know before hand where the vertical center of my plot will be. ...
3
votes
4answers
428 views

Base 2 Tick Labels for ListLogLogPlot

I am using ListLogLogPlot and would like to express the x-axis tick labels in powers of 2 instead of the default powers of 10. Does anybody have experience with ...
3
votes
2answers
218 views

Change ticks from number to hours

I have an unidimensional array (let's call it list)ranging from 0 to 86400, each one representing a second of a day (a day has 86400 secs). For example, ...
3
votes
1answer
100 views

Put a tick on opposite side of axis

Consider: ...
3
votes
2answers
91 views

Simple plot control

Absolute newbie question: Plot[2x-1,{x,-4,4},GridLines->{Range[-4,4],Range[-8,8]}] works about as expected, except that (a) I would like the tick ...
3
votes
1answer
200 views

Modify ticks without specifying tick length

I am making a ListPlot, in which the x-axis is the result of AbsoluteTime. I want the tick text to be human-readable by applying ...
3
votes
1answer
140 views

Right-aligning variable-length rotated tick labels

I have a list of data where each point should have a label. I would like the labels to be below the plot, where tick labels usually are. This is what I have so far: ...
3
votes
2answers
447 views
3
votes
1answer
67 views

Adding digits to tick mark labels

Consider: ...
3
votes
1answer
744 views

Export high resolution figure causes missing ticks

I understand that Mathematica has a bug when exporting images. The ticks are scaled not correctly when exporting at high resolution. For example: when you do: ...
3
votes
2answers
2k views

How to do the log scale plot for ListContourPlot

My current code is: ...
3
votes
1answer
97 views

Longer ticks without specifying the ticks itself

I know similar questions have been asked here before, but i can't figure out this specific problem. I have a lot of plots that i'd like to bring to a publishable form, but in my current customization ...
3
votes
1answer
390 views

Wavelength, wavenumber, energy and frequency in a ruler

I would like to generate set of four axis relating wavelength, wavenumber, energy and frequency in an arbitrary range. Like in this image but without the labels such as "RADAR". The selection of ...
3
votes
1answer
76 views

Is there a way to control the placement of individual tick mark labels?

Let me start by saying there are a lot of other questions here on SE and elsewhere about tick marks in MMA but I think I am correct in saying that none of them cover exactly what I want (apologies if ...
3
votes
0answers
53 views

Tick labels above axis [duplicate]

Is there any way to place tick marks on the x-axis above the axis? Note that I am talking about marks on the axis, not on a frame (because my graph has no frame). To be more specific, here's the ...
2
votes
3answers
243 views

Fixing ticks labels position in plot

I have made a figure with this code, where multiple plots are shown together: ...
2
votes
2answers
116 views

Forcing Ticks on Lower Left Corner of Plot

I have a graph that looks like this: I need to have it labeled so that 14 appears in the lower left (I know it's obvious but that's what the publication I'm working with wants). That makes the ...
2
votes
2answers
210 views

Plot with tick labels but without ticks

In scientific literature, plots often have a design like what I've been trying to make (see below). These images have the following characteristics: 1) Frames on the left and on the right 2) An x-axis ...
2
votes
1answer
104 views

Methods for producting alternating TickLabels in a Plot?

I am producing a plot with alternating TickLabels. Here is a MWE: ...
2
votes
1answer
714 views

Custom ticks failing with Frame

I know I can manipulate ticks: ...