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.
719
questions
9
votes
2
answers
349
views
BoxWhiskerChart - how to show Quartile and other values
I have a question in respect of the BoxWhiskerChart.
The default functionality of BoxWhiskerChart is that you mouse over it and ...
9
votes
1
answer
504
views
Plot3D producing wrong axis labels
Bug introduced in 10.0 and persisting through 11.0
This is some rather perplexing behaviour. If I try to specify labels for the axes of a 3D plot, sometimes they will go completely belly up:
...
9
votes
2
answers
495
views
How to use a Callout in GeoGraphics?
It seems callout is only for plots and not for graphics :(
...
9
votes
1
answer
599
views
Callout labels does not seem to work in multiple curves, why?
I have tried this plot:
...
9
votes
2
answers
261
views
Why does Mathematica try to take the first element of the empty list when plotting?
I'm using Mathematica 12.1.1.0.
When I enter
...
8
votes
4
answers
453
views
Equivalent of RadialOutside for Graph VertexLabels
I'm creating a circular graph and want the labels to be placed on the outside of the vertices in a circular manner on the outside of the graph. I've been playing around with the ...
8
votes
3
answers
462
views
DensityPlot with text [duplicate]
Is there any way to generate something like the image (so label chunks of the DensityPlot with the function value? (the image is really more of a list density plot, ...
8
votes
3
answers
1k
views
How can I add labels to the points in my scatterplot?
So I'm creating a scatter plot of a large data array, but need to be able to determine which points are where when I look at the plot, so I'm trying to add labels to them.
...
8
votes
3
answers
220
views
Using a List in PlotLabel which goes beyond width of ImageSize
My PlotLabel goes beyond the width of the ImageSize. The label is generated into a List form ...
8
votes
3
answers
327
views
8
votes
3
answers
759
views
Displaying two items in a graph's edge labels
Is it possible to have double edge labels displayed by a graph?
I tried
EdgeLabels -> {Placed["Index", 0.5], Placed["Name", 0.25]}
but it didn't work.
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:
...
8
votes
2
answers
694
views
Labeling a three-dimensional plot
As the title says, I want to add some text in a three-dimensional plot, thus labeling specific parts of it. Here is the corresponding Mathematica code
...
8
votes
3
answers
2k
views
Plot label distance to plot
Consider the two following similar expressions:
...
8
votes
2
answers
871
views
Placing labels "around" a GraphicsGrid
I have the following code, which produce the image shown.
...
8
votes
2
answers
242
views
V12.1 shows extra space using BarChart3D compared to V12
V 12.1 on windows 10 shows extra space above and below BarChart3D compared to V 12 using the same code.
I'like to put a label above this one below, but the space ...
8
votes
2
answers
818
views
Labelling points on a NumberLinePlot
I have a list of points plotted using the command:
...
8
votes
3
answers
344
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 ...
8
votes
3
answers
244
views
DateHistogram FrameLabel overlaps FrameTicks
Bug introduced in 11.3 or earlier and persisting through 13.3.0
...
8
votes
1
answer
17k
views
Font and style of axes labels
In the plot below, the "l" letter in the axes labels looks like number one also the "x" in the numerator and denominator of the x-axis are not the same?
...
8
votes
1
answer
159
views
How to add inner ticks to a PieChart?
I know how to add Callouts to the outside of a PieChart, but I would like to add inner ticks like this:
Note the 3, 6, 9, 12 ...
8
votes
1
answer
367
views
Avoiding overcomplicated structure of groups, masks and splited text on vector format plot export
I'm trying to generate a template for exporting figures and plots in a consistent way that will allow easy editing in any vector based drawing software (such as illustrator). My problem is that ...
8
votes
2
answers
2k
views
Can I frame text in a plot to look like legend?
I have a DateListPlot, much the same as below, that I want to overlay text onto.
I'd like the text to be wrapped in a frame much the same way as the legend box is, ...
8
votes
1
answer
337
views
Vertex Labelling and Word wrap
I am having trouble formatting vertex labels, explicitly adding line breaks to Vertex labels for word wrapping and other purposes. I have explored the pane option suggested here but when I include ...
8
votes
1
answer
251
views
Can I label duplicate edges differently within adjacency graph?
I want to label a duplicate edge I have with different labels in an adjacency graph.
So far I have this:
...
8
votes
1
answer
187
views
How to obtain sheared text label effects?
How to make the text labels of 3D plots look always like coplanar with the specific axes planes no matter how the viewpoint/view angle changes?
Here are examples of such effect:
8
votes
0
answers
138
views
How to customize multipanel BarCharts (e.g., ChartLayout -> "Row")?
Bug introduced in 13.0
In version 13.0.0 support for multipanel plots has been added to 15 visualization functions —among them ...
8
votes
0
answers
255
views
Improving label collisions for Tree/Graph?
Historically, MMA has never handled label collisions well, but recently they added some improvements here via things like Callout. I want to fix ImageSize but still ...
7
votes
4
answers
488
views
PlotLabel moves, when i rotate my 3D graphic
How can I stop the label from moving up and down, when rotating using the mouse?
...
7
votes
1
answer
3k
views
Can I label a Manipulate panel?
I wasn't able to find a way to label a Manipulate panel (not the sliders, etc.). Is it indeed not (directly) possible?
7
votes
3
answers
3k
views
Placing bar chart labels on the upper and lower frame axes
In the bar chart (with negative values)
BarChart[{{1, 2, 3}, -{4, 5, 6}},
ChartLabels -> {Placed[{"r1", "r2"}, Above],
Placed[{"c1", "c2", "c2"}, Below]}]
...
7
votes
3
answers
321
views
How to label only leaves in TreeForm?
I have a Huffman encoding represented as a list in the following manner:
encoding = {{{w, d}, {o, s}}, {{{e, q}, a}, {i, j}}};
This means that ...
7
votes
3
answers
7k
views
Labeling points on a graph with their coordinates in parentheses
I need to create some graphs in Mathematica with a bunch of labels, such as axes labels, graph labels, etc. In particular, there must be some points that must be labeled with their coordinates. Thanks ...
7
votes
2
answers
143
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 ...
7
votes
2
answers
282
views
Imposing breaks in contours in a ContourPlot without rasterization
In this question, we are asked to compute breaks in the contours of a ContourPlot so as to place contour labels (values) atop the colored boundaries rather than the ...
7
votes
2
answers
300
views
How to label y-axis inversely [duplicate]
I want to flip a figure vertically but label the y-axis inversely.
Please see this example:
Plot[2 Sin[x] + x, {x, 0, 15}, Frame -> True, Axes -> False]
...
7
votes
2
answers
6k
views
How to place PlotLabel inside the plot frame
I have the following plot:
...
7
votes
2
answers
1k
views
Align FrameLabel Right
I'd like to align a FrameLabel right.
For example: ...
7
votes
2
answers
423
views
How to get distinct labels on parallel edges in a graph?
The following doesn't display as you'd expect:
Graph[{Labeled[1 -> 2, "A"], Labeled[1 -> 2, "B"]}, VertexLabels -> "Name"]
The parallel edges are both ...
7
votes
2
answers
548
views
Automatically coloring plot labels the same as the plotted curves
Here is an example of a ListLinePlot. How can get the text of the PlotLabels option to be the same as the colors automatically ...
7
votes
1
answer
140
views
How to Rotate Plot Labels
How can I make the top labels on the plot below vertical so they can be read and not overlap each other?
The code I used to create the plot is:
...
7
votes
2
answers
176
views
Why Does GraphPlot mislabel Vertices from a Graph?
A very peculiar thing is happening when I wrap a Graph with GraphPlot. The picture below shows the correct vertex labeling. However, GraphPlot changes the vertex labeling! Am I misusing this function ...
7
votes
1
answer
113
views
Controling the vertical distance between labels
Here we have a simple example
...
7
votes
2
answers
789
views
Adding annotations to plot with vertical leader line to the curve
I am working with some GPS data for a bike trip I am going on.
All the routes are given so it's easy to simply follow the line on your GPS.
I am looking for a way to visually summarize information ...
7
votes
3
answers
973
views
Formatting an equation on a plot
I am trying to label a plot with an equation. The problem is that Mathematica formats things almost well but not exactly. The parenthesis are of the wrong size, and the powers are not high enough.
...
7
votes
1
answer
98
views
Custom alignment for GeoMarkers
I need to align a GeoMarker at the bottom left of the marker:
...
7
votes
1
answer
121
views
Can Callout be combined with Evaluated->True in Plot?
I would like to use Callout (Mathematica 11) in a Plot where Evaluated -> True is used.
<...
7
votes
1
answer
426
views
Change label spacing on ListPlot
I want to add a label to each point of my ListPlot[] by using the example from the documentation as a basis:
...
7
votes
1
answer
154
views
Formatting ChartLabels for a BarChart with ErrorBars
I have the following BarChart, that uses a custom ErrorBar function to plot error bars:
...
7
votes
1
answer
132
views
How to add labels to GeoGridlines?
I'm trying to make a graph that looks like this:
This code gets close:
...