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
1 answer
165 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
371 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
43 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: ...
0 votes
1 answer
592 views

Writing axis into scientific notation

I want to express numbers on the y-axis using scientific notation for the plot given below. ...
2 votes
2 answers
44 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
67 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
107 views

How to add labels to GeoGridlines?

I'm trying to make a graph that looks like this: This code gets close: ...
0 votes
0 answers
44 views

AxesLabel with multiple styles

I am struggling with AxesLabel for a plot. I want to label the axis with a variable name and a unit; where the variable is italicized and the unit keeps using a ...
5 votes
1 answer
148 views

Wrong Callout leader colors combined with specific data

Consider my data (sorry for long code but it's necessary): ...
1 vote
1 answer
105 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-...
5 votes
2 answers
122 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
41 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
48 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
115 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 ...
1 vote
2 answers
82 views

Legended and changing font

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

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

I have two BarChart: ...
2 votes
1 answer
72 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
75 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
54 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. ...
8 votes
3 answers
264 views

RotateLabel doesn't work?

Bug introduced after 12.0.0 and persisting through 13.2.0 or later I'm creating a really simple plot with the code attached below. However the y-axis label is rotated and parallel to the y-axis by ...
22 votes
3 answers
89k views

Generate a Unit Circle Trigonometry

Struggling often with Trigonometry I would like to have some code to generate this Unit Circle Trigonometry. Would be of great help when I need to transform some data :
5 votes
1 answer
431 views

How to use Callout for points on Graphics objects?

Callout is a relatively recent functionality that is pretty useful to add custom labels to points and plots. A minimal example of it being used in ...
3 votes
1 answer
165 views

Place Graphics outside PlotRange without using PlotRangeClipping set to False

I want to place a Text (or some other Graphics object) outside the PlotRange using the Epilog...
36 votes
4 answers
18k views

Is there an option to change the space/distance between tick labels and axes labels for plots?

In an attempt to squeeze more plots and controls into the limited space for a demo UI, I am trying to remove any extra white spaces I see. I am not sure what options to use to reduce the amount of ...
2 votes
1 answer
120 views

Label on lateral bar of density plot [closed]

I would like to add the label "Omega" on top of the lateral bar in my density plot, like this (I did it using paint): I spent hours on the documentation, but I didn't find how to obtain ...
3 votes
3 answers
63 views

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

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

Modifying callout marker

I want to remove the blue circles that appear as callout markers. How can I do that? ...
4 votes
0 answers
80 views

How Can You Label Axes in a MultiAxis Plot?

With standard plots axis labelling works like this: ListLinePlot[{Range[10], RandomInteger[50, 10]}, AxesLabel -> {"Var1", "Var2"}] ...
0 votes
0 answers
31 views

How can I keep a distance to the abscissa axis when specifying an AxisLabel in the form "text"?

These observations are from Mathematica 12.3.0.0 on Linux x86 (64 Bit). With AxisLabel->{"A", "number"} the character ...
0 votes
1 answer
63 views

How to add small graphs to axis labels?

I have a List Line Plot of several lists. It looks ok. But the values at x correspond to a small graphs in a list, i.e. x=1 corresponds to the first graph I have in a list. The question now is if it ...
2 votes
2 answers
269 views

How to modify the axes and the labes of my plot? (Specifically, to cut the vertical axis.)

I have the following data: ...
0 votes
0 answers
36 views

Appending unit labels to AxesLabel or FrameLabel

I want to append a label showing the units for the quantity $|m_{ee}|$ plotted on the y-axis; i.e I want the FrameLabel to read $|m_{ee}|(eV)$ on y-axis. Please ...
2 votes
1 answer
74 views

How to create a line with a label centered above it?

Can anyone help me create a line with a label shown in the picture below? The line is discontinuous near the middle to accomodate the label. The label is placed on top to avoid the problem when the ...
5 votes
3 answers
230 views

Italic style in the label

For the FrameLabel, I have: Style["\[NumberSign] Humans per city", FontFamily -> "Latin Modern Math"] How can I make only "Humans" ...
2 votes
1 answer
58 views

Vertex labels not appearing in the center of the vertex

I'm trying to put names inside circles and it's proving to be difficult to say the least ...
2 votes
1 answer
76 views

The symbol of number in the label

I'm labeling one of my axis in a plot as "# of humans": Style["# of humans", FontFamily -> "Latin Modern Math"] "#" ...
2 votes
3 answers
170 views

Centering the x-axis label under the plot area

I have the following code: ...
3 votes
1 answer
40 views

How to make `PlotLabels` match colour of plotted data

How do I make the PlotLabels text colour to match the one with which the data is plotted automatically, eg. in this one: ...
0 votes
1 answer
44 views

Setting LegendLabel in Mathematica ListPlot

I searched many times but could get a simple way to get my desired output. The problem is this: In creating ListPlot, and using ```LegendLable`` like ...
3 votes
5 answers
165 views

How to show FrameLabel and AxesLabel simultaneously with PlotTheme -> "Scientific"

I'm using mathematica 12.3. The function I need to plot is of order $10^4$, and I want to display a multiplier "$\times 10^4$" besides the $y$-axix while keeping FrameLabels $x,y$. With ...
9 votes
3 answers
411 views

How can I use Callout to label the segments of a piecewise function?

When I plot a Piecewise function, I like to put the function name above each part of the plot. I could not find a way to use ...
1 vote
1 answer
52 views

How do I put the PlotLabel inside the graph?

I have this code: ...
0 votes
1 answer
33 views

How to add the frame labels to the given plot code?

Using this code ...
7 votes
3 answers
208 views

DateHistogram FrameLabel overlaps FrameTicks

Bug introduced in 11.3 or earlier and persisting through 13.1.0 ...
5 votes
2 answers
171 views

Positioning labels in 3D plots ... again

I am looking for a way to manually control the positioning of labels in a 3D plot. For this purpose I used to follow the methods of the accepted answers in: Axes Origin & Labels in 3D Plot ...
1 vote
0 answers
55 views

Formatting BoxWhiskerChart: rotate label, remove extra ticks, center legend

I am having a problem with a couple of things in this grouped box chart. Using following data I can plot a grouped box-whisker chart (example): ...
3 votes
1 answer
130 views

Axis Label 3D plot

I want to move the two horizontal axes closer to the axes keeping the same writing style (the label parallel to the axis), and also, the vertical axis should be parallel to the vertical label. Does ...
1 vote
2 answers
2k views

Axeslabel doesn't work when using Frame and FrameTicks,

I'm using FrameTicks and Frame to get a second y-axis. But then my axes labels disappear. I've solved it by using ...
4 votes
0 answers
67 views

Callout is out of frame

In the documentation of Callout, there is an example, ...
23 votes
3 answers
32k views

Formatting legend text font

I am using this code to plot a graph, and I am trying to make the font of the legend bigger. ...

1
2 3 4 5
14