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
8
votes
4answers
202 views

Obtain PlotLabel from Plot

I have a very simple question that I cant find answer: how do I extract the PlotLabel from an existing plot? For example ...
3
votes
1answer
65 views

BarChart Labels for two lists

a quick question: I am trying to label a BarChart that consists of two lists (groups). The label should keep going on with the Label list (so ddd, eee, fff) and not repeat itself (and start from aaa, ...
5
votes
1answer
61 views

Callout position problem

...
3
votes
1answer
64 views

How do I get parantheses into an exponent inside a string

I would like to write $R^{(2)}$ and use this as a FrameLabel. This means that I specifically want () around the 2 in the exponent. I've tried using ...
1
vote
1answer
57 views

Custom labels in a pie chart

Using @kglr's approach (see here) we can create the following pie chart ...
0
votes
1answer
45 views

Creating a custom curved axis around a pie chart

In a recent post, we have seen (thanks to @kglr) how to create a custom pie chart ...
0
votes
1answer
35 views

Labeling ticks with strings instead of its numeric value [closed]

I have a fairly long list of data points that I'm plotting using ListPlot. Now, instead of the x-axis saying 1000, 2000, 3000, ...; i.e., the ordinal number of the ...
1
vote
1answer
26 views

Fixing background color of labels in output cell

I swear that I have asked or at least seen a similar question before, but I cannot find it. I tend to use the Report/StandardReport stylesheet because the color difference between input and output ...
6
votes
2answers
146 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 ...
2
votes
1answer
64 views

BarLegend and ContourLabels in ContourPlot

I have tried to manage my problem with the rich literature on this site, but I am failing... I want to roughly reproduce this plot from a paper I am interested in: What I've tried to do is the ...
1
vote
1answer
89 views

What's the difference between PlotLabel and PlotLabels? [closed]

What's the difference between the option PlotLabel and the option PlotLabels? In the Plot ...
2
votes
2answers
71 views

Labeling a plot point under the axis

This works well: Plot[x, {x, 0, 1}, Epilog -> Text[1/2, {1/2, 0.1}]] This doesn't (the "1/2" label is not visible): ...
1
vote
0answers
40 views

Assigning labels to numbers in ListContourPlot

I am trying to plot some 2D data using ListContourPlot. The quantity to be plotted has only three discrete values 0, 1, 2. While plotting them, I want to assign these numbers some labels say A, B, C, ...
3
votes
2answers
39 views

Remove extra space between functions and labels, when subscripts are used

I want to plot a function for different values of my parameter, 'y_a', where a is a subscript. Here is my code: ...
4
votes
1answer
40 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. ...
7
votes
1answer
78 views

Is there a PlotLabels placement such as “Above Left” or “Below Right”, etc.?

I am trying to add labels to a plot in specific positions. I give a simple example: ...
1
vote
1answer
55 views

Adding units to frame label

I have this code: ...
0
votes
0answers
39 views

An Elementary Introduction - Problem 22.13 VertexLabels [duplicate]

Problem 22.13 Make raster images of the letters of the alphabet at size 20, then make a graph of the 2 nearest neighbors of each one. My solution ...
4
votes
1answer
78 views

Blurry labels in GeoGraphics

I want to keep the same GeoZoomLevel, but increase the resolution of the labels. I'm struggling to control that: ...
2
votes
1answer
30 views

How do I use Labeled with ErrorListPlot?

Consider the following simple example of using ListPlot with Labeled data: ...
0
votes
0answers
46 views

MaTeX in the labels

Writing Plot[Sin[2.5 x], {x, 0, 2}, PlotLabel -> Framed["a=1.5" // MaTeX]] I get the expected labeled plot: However, if I just change ...
2
votes
1answer
66 views

Callout mystery

I have this function: de[a_, x_] = -1 + (E^-x x^a)/((-a + x) Gamma[a, x]); When I do ...
6
votes
1answer
62 views

Remove ticks from chart labels

Given the following chart: BarChart[{{1, 2, 3}, {4, 5, 6}}, ChartLabels -> {{"r1", "r2"}, None}] How can I remove the ticks of the chart labels (marked with ...
7
votes
1answer
79 views

Formatting ChartLabels for a BarChart with ErrorBars

I have the following BarChart, that uses a custom ErrorBar function to plot error bars: ...
1
vote
1answer
28 views

Create inclined chart labels on stacked bar charts

Ive hunted high and low for a solution. I can put inclined labels on bar charts: ...
3
votes
1answer
71 views
2
votes
2answers
40 views

Increasing labelling size in a ListPointPlot3D

...
0
votes
1answer
40 views

Labelling plots using list of images [closed]

I have plotted the following: ...
1
vote
1answer
28 views

BarChart LabelingFunction->Right label overlaps with chart label when BarOrigin -> Left

...
2
votes
1answer
57 views

Labeling points in GeoGraphics

I have the following code for labeling certain points at different latitude-longitude locations across the US stored in USLatLong. ...
1
vote
1answer
68 views

Labeling distinct objects produced by Show[RegionPlot3D's]

I have these commands ...
1
vote
1answer
67 views

How to set the position of the axis label in program?

I have studied the relational contents through the webpage Placing x-axes label below rather than at end of axes, but not found: (1)How to put annotation on the left of y axis and display the graphic ...
9
votes
4answers
475 views

How do you glue a text to a point?

I have a point {0,0} which I call A, and a point {2,1} which I call B. I want to make an image that looks like the one below. When I resize the image I want the text labels to follow the points, so ...
1
vote
1answer
47 views

Plot label doesn't show up in GraphicsGrid

...
4
votes
1answer
74 views

Diagonal position of Labels in ListPlot

I would like to plot the following data and set the labels of the point not above, not below, but at an angle -let us say 45degree- with respect to the axis. What is a straightforward approach? ...
2
votes
2answers
58 views

No difference between TraditionalForm and StandardForm in Graph labels

TraditionalForm seems not to be working properly on Mathematica 11.3 when used in Graph. The following MWE ...
3
votes
1answer
46 views

How to split overlapping values from different axis?

There are overlapping numbers in the plot below (the left down corner). The axis $T_e$ has the value $10^{0}$, and the axis $n_i$ has $10^9$. But the problem is that the values are imaged in the same ...
0
votes
0answers
58 views

Problems plotting labels

When i plot labels on a graph, then the text "field" is much bigger than the text itself. It gives some problems for me regarding placing the labels properly. Can someone help me fix this? see code ...
0
votes
1answer
44 views

Avoiding distinct background appearing behind plo label text

I keep getting a light background behind my text when I use the PlotLabels option (see picture below). ...
1
vote
1answer
42 views

The labels in the plot don't appear

the labels in the plot doesn't appear, axeslabel, plotlabel and plotlabels. ...
1
vote
1answer
56 views

Three questions to customizing `Ticks` in `Plot`, `LogPlot` and `LogLogPlot`

When making a plot, sometimes I would like to alter the ticks and labeling of the ticks, in particular when doing a LogPlot or ...
3
votes
2answers
76 views

Images as labels - resizing problem

I'd like to label a pie chart with images, ideally resized to fit inside the sectors. The problem is I can't seem to control the size of the imported images. Here's an MWE with no attempt at resizing, ...
3
votes
2answers
71 views

How to explicitly assign the position in Labeled[]?

From the documentation, Labeled accepts the positions 'Top, Bottom, Right, Left'. But this is too vague in some situations. So my question is whether it's possible ...
3
votes
1answer
42 views

How to label the nodes of a graph with the numbers in a list?

I have an adjacency matrix "am" and I want to color the nodes with four colors. Here I what do... ...
4
votes
1answer
68 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 ...
0
votes
0answers
38 views

Changing the position of PlotLabels

In the image below, the PlotLabels are, in my view, too close together. I am using the code: PlotLabels -> Placed[{" t = 4"}, {Scaled[1], After}] Is there any ...
4
votes
1answer
52 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? ...
1
vote
0answers
35 views

How to ensure that FindClusters and ClusterClassify have the same cluster name?

I am trying to ensure that both the FindCluster and ClusterClassify function provide the same cluster name. To explain this ...
1
vote
2answers
154 views

How to get proper Callout in BarChart?

Consider the following data. ...
1
vote
1answer
34 views

Calibrating the axes of a 2D plot

When the data a = Table[Sin[x], {x, 1, 20, 0.1}]; ListPlot[0.1 *a] is plotted, one finds that the range of x-axes is labeled as 0 to 200: How can one reset the ...