Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

Questions tagged [labeling]

Questions related to displaying identifiable labels in graphics or any other expressions, such as in AxesLabel and Labeled. Not to be confused with Goto-Label.

392 questions
Filter by
Sorted by
Tagged with
168 views

How to change Callout leader size in Plot?

Take this example: Plot[Callout[Sin[x], Sin[x], Above], {x, 0, Pi}] Question: How can I change the length of the line connecting the $\sin(x)$ label with the ...
1k views

How do I label points when using Graphics? [closed]

Let say I want to draw a point and label it. The command I use to draw points is Graphics[{Point[{0,0}], Point[{1,1}]}] This draws the points $(0,0)$ and $(1,1)$....
2k views

This code: ...
588 views

Add grid table to plot [closed]

How can I place a grid at a certain position in a plot? Example: plot = Plot[Sin[x], {x, 0, 2 Pi}] ...
1k views

BarChart x-axis labels

I am trying to put specific labels on the x-axis of my bar graph. There are 56 bars. I want to have labels 1960, 1970, ... and 2010 on bars 1, 11, ... and 51 respectively with ticks at only those ...
258 views

Absolute positioning for label in plot3d

I want to place a caption at the bottom of a Plot3D graphic that doesn't move as I rotate the plot with the mouse. I have tried two approaches, neither of which is satisfactory. My first approach is ...
133 views

How to plot against scaled axes?

Say I have some plot, such as: Plot[Exp[-(x - 2)^2/(2*1^2)], {x, 0, 6}, AxesLabel -> {"x", "f(x)"}] But I want to present it with the axis labeled as ...
424 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: ...
160 views

When I use the Labeled command my graphics shrink

My first post regarding this matter was not well formulated so hopefully I have done a better job of reformulated my question here. The following code works well as far as it goes. ...
208 views

How can I mark categories in a BarChart with one instead of multiple labels?

given the following data organized by year ...
309 views

Row inside FrameLabel doesn't work in Mathematica 9

So as to automate/customize plot titles I use Row inside e.g. FrameLabel: FrameLabel -> {"x", "y", Row[...]} Now with ...
46 views

Customizing contour labels in ContourPlot

I have a contour plot. I want to make some changes in the contour labels. I want them to place along each contour in white color. Here is my code ...
62 views

Is there any way to turn Labeled[…] into graphics primitives?

I have asked a similar question before. In that question I pointed out that the following code does not work: ...
207 views

Using MaTeX with Callout

Recently, I tried to use Callout with the MaTeX objects. MaTeX is a package I downloaded in ...
137 views

Plot with LabelingFunction and condition

How can I apply a LabelingFunction with an if else condition? Suppose you have the following plot: ...
387 views

Change x-axis date range in DateListPlot

unfortunately, I have a simple problem with my DateListPlot which I cannot solve on my own (with the guidance online). The code looks as follows: ...
152 views

Distribute labeling function over a list in order to assign different labels in a PieChart

I have a PieChart: PieChart[{{1, 2, 3}, {4, 5, 6}}] I want to label each sublist differently, but ...
544 views

Custom labeling of contours in Contourplot

I have a Contourplot of F[r,x], which I just wanted to keep some specific contours, however, I wish to label the contours not with their actual numerical values but with some other numbers. So instead ...
178 views

Complex labelling of a BoxWhiskerChart

I try and make a complex labelling on a BoxWhiskerChart. However, the solution I tried isn't working properly as ...
857 views

How to add Contour labels in the desired place?

I have a contour plot as shown below. What I want is to have distinguishable contour labels i.e, here the value of the contours is not readable above 800 or so. How can I place the contour labels in ...
223 views

How to automatically label the cluster distances in a DendrogramPlot?

I have a distance matrix data, and want to visualize it as below: The current codes I am using is: ...
108 views

Options CellLabel not showing

I'm back with the labels and tags questions! Here is my code: mb = CreateDocument[Null, ShowCellTags -> True]; In the new document, I create a new cell, add ...
202 views

How to use Callout in TimelinePlot?

I'd like to annotate a datapoint in my TimelinePlot with a callout. Is there a way or a hack that anyone knows of to get this to work? ...
240 views

Show seems to forget 'logness' for Ticks of LogLogPlot

So there is a (List)LogLogPlot I made a few months ago. Now, it turns out the axes I had back then are too small. Now, the creation of these plots costed quite some ...
123 views

Why no style change in callout in position After? And why is PlotRange so badly calculated?

I thought my plot labelling issues would get resolved with the new Callout feature in v11 but perhaps not...and apart from the lack of styling of the callout in <...
139 views

Plot option Filling conflicts with option PlotLabels

Bug introduced in 10.4.0, and fixed in 11.0.0 PlotLabels is new in 10.4.0. The regulars here discuss approaches to numerically unstable systems of higher-order ...
427 views

Manipulate a parameter within the PlotLabel

Very similar to Parameters in plot titles in which I want to call a parameter from an array using PlotLabel in my plot using ...
208 views

LineGraph Labels

I have a graph with labels on the edges: ...
34 views

Plotting with sub and superscripts on the PlotLabels

Bug persists through 12.0. I'm trying to produce a plot with PlotLabels that include sub- and superscripts. However, I haven't been able to do it consistently. ...
50 views

How can I change the gap between a plot's frame and its legends?

How can I change the gap (marked by the double arrow below) between a frame and a plot legend? ...
230 views

Vertex labels of graph: {index,weight}

I would like to label vertices of a graph with an ordered pair of the vertex Name (or Index), and the ...
444 views

How to label the axes without keeping the frame?

I have this plot And I shall label the axes as if I were in the Frame ambient that is, putting $t$ and $d\psi/dt$ on the axis but not at their top and right (like in the normal ...
548 views

How to customize labels of a 3D plot? [duplicate]

I need to change the label style on a 3D plot like this one below : ...
3k views

A Symbol with Subscript and Superscript as an Axis Label

I am trying to have the symbol $\epsilon_{9/2,4}^-$ as the axis label in a graph in Mathematica. First problem is that: when I use Subscript[$\epsilon$,9/2,4], 9/2 changes to $\frac{9}{2}$ (which I ...
120 views

Change the vertical order of automatic PlotLabels without changing the horizontal positioning

I recently updated to Mathematica 11.2, and I very much like the automatic PlotLabels feature that I discovered. However, it picks a somewhat silly ordering when ...
240 views

Plot with callouts and arrows

All, I am trying to create a graphic that looks like the follows: ...
253 views

How can I put contour labels of contour plot around the frame?

I already defined a ContourPlot with log-log scale and labels, like this: ...
183 views

Why are Label Pixelated?

It seems that Mathematica implements the processing of labels quite different for different plot-functions. The good -> Plot[]: ...
492 views

Labeling data in ListPlot

I have the following coordinate pairs: ...
3k views

Fixing ticks labels position in plot

I have made a figure with this code, where multiple plots are shown together: ...
105 views

Vertex relabeling. Ordering from top left in GridGraph

I have a grid graph GridGraph[{15,15},VertexLabels->"Name"] which gives the following but I want the vertex number starts from top left going to right all ...
1k views

How can I add label for every function in plot?

I wrote the following code: Plot[{Sin[x], Cos[x]}, {x, 0, 10}, PlotStyle -> {Red, {Blue, Thick}}, PlotLegends -> "Expressions"] I want to have label for ...
685 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 ...
763 views

FrameLabel and OverTilde

What is the problem with this expression inside ListPrint? OverTilde generates here a mess: ...
195 views

Label on boundary of region plot

Consider this plot RegionPlot[{n + k > 6}, {n, 0, 4}, {k, 0, 15}, BoundaryStyle -> None] I want to add a label on the boundary like in the picture. How can ...
143 views

How to prevent Manipulate from using localized names in its frame label?

In short, the following Mathematica code Manipulate[ Plot[a Sin[x], {x, -Pi, Pi}], {a, -1, 1}, FrameLabel -> TraditionalForm[y == a Sin[x]]] produces ...
94 views

Can't get alignment to work in Labeled function

I'm probably missing something obvious here, but I haven't been able to figure out how to get the Mathematica function Labeled to print an expression with a left-...
761 views

Plot label distance to plot

Consider the two following similar expressions: ...
Let's create a simple $3 \times 3$ grid of images ...