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
27
votes
4answers
11k views

What is the most elegant way to display multiple graphs with a common title?

I often seek to display two graphs, side by side, with a common label over them. There is no option for adding a label to GraphicsRow, which means, I think, that I ...
25
votes
3answers
13k views

About the number format in ticks

I want to LogPlot a function, but I have the trouble in the number format in the ticks. For example, ...
25
votes
3answers
29k views

Placing x-axes label below rather than at end of axes

By default Mathematica places the x-axis labels at the end of the axes like Googling has suggested a way around this is to use Frame- for example ...
20
votes
3answers
556 views

How to insert dimensions in graphics?

I'm creating figures (a T beam section) using the Graphics function. Like this: ...
19
votes
0answers
215 views

Why the Callout option makes plotting performance poor

Bug introduced in 11.0 and fixed in 11.1 The Callout option is a new option for plotting, but the performance is very poor, see bellow testing case. ...
18
votes
5answers
2k views

Label multiple edges between same vertices

I have a simple graph with multiple edges between two vertices, say: Graph[{ Labeled[a -> b, "A"], Labeled[a -> b, "B"] }] Unfortunately, Mathematica ...
13
votes
5answers
5k views

How to control the positions of contour labels?

...
13
votes
3answers
7k views

Labeling points of intersection between plots

There are several answers where Mathematica used mesh points to show graphically where curve intersections exist. For example: Marking points of intersection between two curves or Is there a better ...
12
votes
2answers
2k views

Using a function name instead of its definition in AxesLabel

I seek to use a token as an axis label, but this token, having other meanings, is expanded by Mathematica. If I enclose the token in quotes, it is not expanded, but it is also no longer italicized. ...
12
votes
2answers
5k views

Manually assigning Axes label position in Plot3D

How can I adjust the position of axes labels with respect to the axes they are bound? Like shifting slightly right or left. I do not what to destroy the graphics' dynamics and render it 2D. ...
12
votes
1answer
298 views

Plotting cities with Callout labels on a globe?

This question essentially amounts to implementing a very basic version of GeoGraphics3D: ...
12
votes
3answers
1k views

Mathematica 11 crashes when using Plot with Label-option within a GraphicsGrid

starting with the new Mathematica 11.0.0 version on a Windows 7 machine I ran into a problem I am not able to solve. While using the Plot functionality I am able ...
11
votes
6answers
331 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 ...
11
votes
4answers
5k views

Labeling points in 3D plot

I am trying to label some points in 3D plotting. First, I'd like to label all points. The code below does not work, there seem to be a problem with a "Graphics" command, any ideas? Next, what would ...
11
votes
4answers
2k views

AxesLabel in Histogram3D unreadable

I'd like to modify this chart to relocate the z axis label so it's not over printing the values. ...
11
votes
3answers
3k views

FontSize problematic when used in LabelStyle

Bug introduced in 9.0 and persisting through 11.0.1 or later Consider the following few examples, each producing a trivial graphic object: ...
11
votes
3answers
1k views

Labeling plots without evaluation

This is my first question here so please excuse my mistakes. Let us consider a rather contrived example: ...
11
votes
1answer
736 views

Callout: How to add to graphs?

Description of Problem Mathematica recently added Callout as a new labeling option. While I am preferential to using Tooltip, ...
11
votes
0answers
567 views

How to style and position VerticalCallouts and RadialCallouts

Here is a pie chart with a labels placed with a "VerticalCallout" ...
10
votes
2answers
503 views

How to show two or more non-overlapping label in a same position

I have such callout ...
9
votes
5answers
509 views

Replicating a PlotStyle from Trees, Maps, and Theorems

How might I make a plot with this style, where the callouts are on the side and the y-axes chopped off for a minimal look? Here's some example data with the callout that I'd like to add, but I'm not ...
9
votes
3answers
3k views

FrameTicks and Ticks on Axes in Same Plot

I have a plot where I would like ticks shown on both the axes and the frame, with them labeled separately. I have custom labels for the frame and want the horizontal axis labeled with ticks ...
9
votes
4answers
7k views

Position of axes labels

I have a 2D parametric plot like the following: ...
9
votes
4answers
487 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 ...
9
votes
3answers
16k views

Label points in plot with a text

I'm a newbie at Mathematica and I couldn't find how to label the maximum and the zero of a simple function in Plot with their names: ...
9
votes
1answer
774 views

Label both sides in BarChart

I have labeled the name(A,B,C) of each row on the left and value of each item , is there any way to put the total number(6,7,5) of each row on the right side without changing other labels? ...
9
votes
3answers
3k views

Adding a label to an expression result

To make my notebook easier to read for non-Mathematica literate colleagues (myself included), I'd like to have the output from an assignment expression look somewhat more obvious. Normally an ...
9
votes
1answer
511 views

Text on a plane without Rasterize

When I plot Text in Graphics3D it always faces the ViewPoint. I would like to put the text ...
9
votes
1answer
404 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
1answer
443 views

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

I have tried this plot: ...
8
votes
3answers
203 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
5answers
1k 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
2answers
534 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
2answers
219 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
1answer
127 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
1answer
307 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
2answers
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
2answers
335 views

How to use a Callout in GeoGraphics?

It seems callout is only for plots and not for graphics :( ...
8
votes
2answers
3k views

how to change the distance between tick mark and tick label

On similar lines as Is there an option to change the space/distance between tick labels and axes labels for plots? but I would like to reduce the distance between the tick mark and the tick label that ...
8
votes
1answer
170 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:
7
votes
4answers
365 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 ...
7
votes
3answers
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. ...
7
votes
2answers
2k views

How do I show the transition probabilities in a graph of a Markov process?

How do I get Graph to display the transition probabilities for a Markov process as labels on the graph's edges? The information is clearly present in the graph, but ...
7
votes
1answer
2k 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
3answers
234 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 ...
7
votes
3answers
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
2answers
270 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
2answers
339 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
1answer
122 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: ...
7
votes
3answers
118 views

DateHistogram FrameLabel overlaps FrameTicks

Bug introduced in 11.3 or earlier and persisting through 12.1.1 ...

1
2 3 4 5
10