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
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 ...
Jiri's user avatar
  • 215
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: ...
Emilio Pisanty's user avatar
9 votes
2 answers
495 views

How to use a Callout in GeoGraphics?

It seems callout is only for plots and not for graphics :( ...
user5601's user avatar
  • 3,583
9 votes
1 answer
599 views

Callout labels does not seem to work in multiple curves, why?

I have tried this plot: ...
José Antonio Díaz Navas's user avatar
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 ...
Jason Gross's user avatar
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 ...
shellhead's user avatar
  • 115
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, ...
Igor Rivin's user avatar
  • 5,094
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. ...
cosmosoudner's user avatar
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 ...
twhoward99's user avatar
8 votes
3 answers
327 views

How to remove the redundant ContourLabels

...
yode's user avatar
  • 26.7k
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.
Gae P's user avatar
  • 647
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: ...
Luigi's user avatar
  • 1,301
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 ...
Vaggelis_Z's user avatar
  • 8,760
8 votes
3 answers
2k views

Plot label distance to plot

Consider the two following similar expressions: ...
Vicent's user avatar
  • 1,101
8 votes
2 answers
871 views

Placing labels "around" a GraphicsGrid

I have the following code, which produce the image shown. ...
user120911's user avatar
  • 2,675
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 ...
Nasser's user avatar
  • 144k
8 votes
2 answers
818 views

Labelling points on a NumberLinePlot

I have a list of points plotted using the command: ...
Junaid Aftab's user avatar
  • 1,000
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 ...
Lepnak's user avatar
  • 89
8 votes
3 answers
244 views

DateHistogram FrameLabel overlaps FrameTicks

Bug introduced in 11.3 or earlier and persisting through 13.3.0 ...
Rohit Namjoshi's user avatar
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? ...
MMA13's user avatar
  • 4,674
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 ...
M.R.'s user avatar
  • 31.5k
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 ...
rhermans's user avatar
  • 36.5k
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, ...
Chris Roth's user avatar
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 ...
Gordon Coale's user avatar
  • 2,341
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: ...
Undroid's user avatar
  • 111
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:
LCFactorization's user avatar
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 ...
gwr's user avatar
  • 13.5k
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 ...
M.R.'s user avatar
  • 31.5k
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? ...
Sofic's user avatar
  • 673
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?
Conrad's user avatar
  • 723
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]}] ...
Robinaut's user avatar
  • 1,245
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 ...
d125q's user avatar
  • 437
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 ...
zipirovich's user avatar
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 ...
Emad kareem's user avatar
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 ...
David G. Stork's user avatar
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] ...
user226's user avatar
  • 71
7 votes
2 answers
6k views

How to place PlotLabel inside the plot frame

I have the following plot: ...
user1993416's user avatar
7 votes
2 answers
1k views

Align FrameLabel Right

I'd like to align a FrameLabel right. For example: ...
A. Vieira's user avatar
  • 503
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 ...
David Bevan's user avatar
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 ...
Jerry's user avatar
  • 2,459
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: ...
Jamie's user avatar
  • 321
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 ...
tjm167us's user avatar
  • 993
7 votes
1 answer
113 views

Controling the vertical distance between labels

Here we have a simple example ...
Vaggelis_Z's user avatar
  • 8,760
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 ...
Tom De Vries's user avatar
  • 3,758
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. ...
Lina's user avatar
  • 307
7 votes
1 answer
98 views

Custom alignment for GeoMarkers

I need to align a GeoMarker at the bottom left of the marker: ...
M.R.'s user avatar
  • 31.5k
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. <...
grbl's user avatar
  • 1,042
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: ...
Milania's user avatar
  • 215
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: ...
holistic's user avatar
  • 2,985
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: ...
Mr. G's user avatar
  • 335

1
2
3 4 5
15