Skip to main content

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.

Filter by
Sorted by
Tagged with
3 votes
4 answers
73 views

Duplicated points not labeled when presented to ListPlot as point->"label"

A minimal working example is given via: ...
4 votes
3 answers
2k views

Customizing the order of appearance of legends in PlotLegends

I have a graph with four curves and I want to custom order their appearance in the legend. In particular, in the graph below, ...
6 votes
4 answers
853 views

LabelingFunction won't show all the labels

I am trying to plot a ListPlot where each point has a label. Unfortunately Mathematica seems to decide that is a label is too large, it will not show it. I would ...
8 votes
7 answers
2k views

Annotating plots by adding labels with arrows connecting them to data points

I am making a 2D scatter plot with some data, let us say: ...
6 votes
2 answers
293 views

Recreate image with GraphicsGrid

I am trying to recreate this image from a book: Using GraphicsGrid I got this: Code: ...
7 votes
2 answers
146 views

VertexLabels and EdgeLabels of Graph

I am using a graph function, and I want to get a specific result to install the locations of the names VertexLabels and ...
4 votes
1 answer
74 views

EdgeLabels and EdgeLabelStyle of Graph

I try to name edges according to the nodes emerging from them and entering them. Each edge takes a specific name $e_{ij}$. The following example illustrates what is required ...
5 votes
1 answer
78 views

"Callout" label changes plot range

I'm noticing that using Callout seems to override the PlotRange option of Plot, increasing ...
0 votes
0 answers
50 views

Label parts (with Callout) in AnatomyPlot3D

I would like to label or Callout individual anatomy components in an AnatomyPlot3D, all visible at the same time. Here is what doesn't work: ...
3 votes
2 answers
212 views

labeling data in a list

I have the following list: l={{1,2},{3,4},{5,6}} I want to list plot above such that the first element {1,2} can be labeled "a", {3,4} labeled "b" and {5,6} to ...
1 vote
1 answer
86 views

How to mark the corresponding time points when the switching function changes its value?

q[t] is a switching function, and when Mod [t, \ [Tau]=(2/3) \ [Tau] q[t] changes from 1 to ...
0 votes
1 answer
41 views

Negative values are not being shown at the axes in DensityPlot [closed]

I used DensityPlot for the function $x^2+y^2$ (or any other more complicated function) for $x$ and $y$ values {x,-2,2},...
1 vote
1 answer
187 views

How to add axes in MultiaxisArrangement?

...
3 votes
3 answers
2k views

Placing text inside a region with RegionPlot

I am plotting many regions with RegionPlot. I would like to label each region as I plot it so that I get something that looks like figure made with the following code: ...
0 votes
1 answer
49 views

Axes labels piled up in exported pdf

I am running this code, and it displays the picture I wanted. After that, I click on it and rotate it to look just so, then right-click and save it into a PDF. But in the saved pdf, the axes labels $...
3 votes
2 answers
83 views

Label of a Disk in Prolog/Epilog

How do I label a disk when the disk is used in a Prolog or Epilog of a plot, such as: ...
0 votes
0 answers
27 views

Plotting Problems: Missing Legend Frame and Label, LabelStyle ignored

I often struggle with getting MMA to plot as I plan. Here's two examples I try to first define a set of desired default plotting values and then can't get them to work. Below I want the text of <...
0 votes
1 answer
62 views

How can I add a point label to this plot? [closed]

I am using the listlineplot function. How do I label a specific point with text?
4 votes
2 answers
241 views

How to improve the output of text labels around a circle points?

...
6 votes
2 answers
297 views

How to get better labels for this Graph?

...
2 votes
2 answers
132 views

Plotting with legend label

I am plotting 4 data files in one plot like this : ...
5 votes
5 answers
399 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 ...
2 votes
1 answer
44 views

LeaderSize has no effect on Callout in Plot

I was trying to change the position and distance from the plot of a label generated using Callout. The following code specifies different ...
10 votes
4 answers
5k 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 ...
1 vote
1 answer
76 views

PlotLabel multiple plots inside a Table

...
-2 votes
1 answer
134 views

Please help me how to label curves like this

Please tell me how to label curves like this:
3 votes
4 answers
354 views

How to use Callout in a directed graph with circular embedding?

Given the following code: ...
2 votes
0 answers
55 views

Use of Callout changes plot fonts and lines

When I use Callout to place a label above the bars on a BarChart a number of other things happen to the graph unexpectedly. The ...
1 vote
1 answer
62 views

Labeling contours

I want to label several contours in one graph. First, I drew three lines 1 == ii3 + (1 + ss)/2, 0 == ii3 + (1 + ss)/2, and ...
1 vote
1 answer
898 views

Writing axis into scientific notation

I want to express numbers on the y-axis using scientific notation for the plot given below. ...
3 votes
2 answers
73 views

Setting Callout options globally

When I do SetOptions[Callout,CalloutStyle->Red] and then do Plot[Callout[x^2],{x,-3,3}], I get plot with a regular gray (not ...
4 votes
2 answers
374 views

Text symbols not exporting correctly to PDF [version 13.2]

I am using Mathematica 13.2 on Ubuntu. I was trying to reproduce a plot that I made using Mathematica 12, but text symbols seem to not export correctly to PDF. This issue seems to apply to all non-...
0 votes
0 answers
137 views

How to avoid ticks and labels from overlapping

Consider the following code ...
8 votes
3 answers
244 views

DateHistogram FrameLabel overlaps FrameTicks

Bug introduced in 11.3 or earlier and persisting through 13.3.0 ...
4 votes
1 answer
224 views

How can I get Graph edge labels to parallel an edge line or or follow an edge curve?

Edge labels are always rendered horizontally. I would like the label for any straight line edge to be rotated so the bottom of the label's bounding box is coincident with the edge. There was an older ...
13 votes
2 answers
512 views

How to properly use FrameLabel with the new PlotLayout feature?

Behold! MMA 13 brought us closer to getting publication-ready plots. I wonder if we can solve this one once and for all with a nifty & modern wolfram syntax. I'd like to have 4 plots with each y-...
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: ...
2 votes
2 answers
45 views

Creating ChartLabels in scientific format over a range

I would like to shorten this repetitious code. Personally, I would save the labels in a separate variable and then just refer to the variable, like for example "ChartLabels -> mylabels". ...
1 vote
2 answers
89 views

Problem with Plot Callout LabelStyle Opacity

I am having problems with setting the opacity of callout labels when plotting. Strangely, it only seems to work when the text color is red. In the following example, the odd labels should be 0.2 ...
7 votes
1 answer
135 views

How to add labels to GeoGridlines?

I'm trying to make a graph that looks like this: This code gets close: ...
5 votes
1 answer
162 views

Wrong Callout leader colors combined with specific data

Consider my data (sorry for long code but it's necessary): ...
5 votes
2 answers
171 views

How to add individual plot labels to histograms in a multiple dataset layout?

How can I add individual labels to each histogram in a multiple dataset layout? See the following example: ...
0 votes
1 answer
74 views

List of Edge Labels

Is there a way to retrieve a list of labels, either vertex or edge, from a graph? Similarly, can a shape function access the label associated with the vertex or edge it is handed?
1 vote
1 answer
71 views

Axes labels as multiples of $\tau=2\pi$ [closed]

When using Plot[], is it possible to have axes labeled with multiples of $\tau=2\pi$, not $\pi$? This question is not a duplicate of (Axes labels as multiples of $\pi$). Replacing [Pi] with [Tau] ...
3 votes
2 answers
127 views

How to make appear different labels to different point in the same graphic? [closed]

I am having some trouble to make a graph where there are three data points with x-error bars and I wanted to label each point. I managed to make the first label (the purple one) to appear but I didn't ...
2 votes
2 answers
88 views

Legended and changing font

I have: ...
1 vote
2 answers
70 views

A horizontal line associated with two combined `BarChart`s [closed]

I have two BarChart: ...
2 votes
1 answer
120 views

How can I Show a text box together with a log-log plot?

I would like to show a log-log plot together with a text box. I tried Show[LogLogPlot[x, {x, 0, 1}], Graphics[Text["My text", {.5, .5}]]], but I don't see ...
0 votes
0 answers
116 views

Mathematica "forgetting" the Latin Modern Roman font is installed

I have installed Latin Modern Roman fonts (on Windows), and in the past I was always able to use them with FontFamily when making plots, etc. Recently, however, I ...
3 votes
1 answer
103 views

AxesLabel and Ticks with Show

I don't understand why AxesLabel and Ticks don't work with Show. I have the following examples. Everything works, but axes labels and ticks command don't work. ...

1
2 3 4 5
15