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.
397
questions
0
votes
1answer
32 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
23 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
140 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
59 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
88 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
38 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
38 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
39 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
71 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
52 views
0
votes
0answers
38 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
75 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
28 views
How do I use Labeled with ErrorListPlot?
Consider the following simple example of using ListPlot with Labeled data:
...
0
votes
0answers
45 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
62 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
75 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
26 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
69 views
2
votes
2answers
40 views
0
votes
1answer
40 views
1
vote
1answer
23 views
2
votes
1answer
51 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
66 views
1
vote
1answer
64 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
473 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
41 views
4
votes
1answer
72 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
56 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
44 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
41 views
The labels in the plot don't appear
the labels in the plot doesn't appear, axeslabel, plotlabel and plotlabels.
...
1
vote
1answer
55 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
65 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
41 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
65 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
51 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
34 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
151 views
1
vote
1answer
31 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 ...
0
votes
1answer
58 views
Label position and angle-marking on right triangle
Using the advice given here, I have a right triangle given by
...
0
votes
1answer
67 views
Removing background from text
I have the following plot
I'd like to remove the edges of what look like boxes around the text with T's. For example, the $5T_2$ label has a hard edge around it which cuts into the lines. Is there a ...
3
votes
1answer
49 views
How to force FrameTicks labels to be nonlinear?
I want to make a color bar with nonlinear scale , with code
...
1
vote
1answer
32 views
Formatting several labels in BarChart
I have the following BarChart with labels on the bars and labels at the bottom:
...
1
vote
1answer
58 views
ListPolarPlot Marker and Labelling
I have a list of data points to plot. These points all have the same radius of 1. The angles are different generally speaking, but it is possible some points can have the same angle, or the same angle ...
7
votes
3answers
80 views
DateHistogram FrameLabel overlaps FrameTicks
Bug introduced in 11.3 or earlier and persisting through 12.0.0
...