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
24
votes
4answers
9k 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 ...
24
votes
3answers
12k 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, ...
24
votes
3answers
27k 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 ...
19
votes
3answers
525 views

How to insert dimensions in graphics?

I'm creating figures (a T beam section) using the Graphics function. Like this: ...
18
votes
0answers
206 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. ...
16
votes
4answers
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
4k 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
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
4answers
4k 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
1answer
197 views

Plotting cities with Callout labels on a globe?

This question essentially amounts to implementing a very basic version of GeoGraphics3D: ...
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
0answers
540 views

How to style and position VerticalCallouts and RadialCallouts

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

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

I have such callout ...
10
votes
2answers
4k 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. ...
9
votes
5answers
480 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
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 ...
9
votes
3answers
2k 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
457 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
364 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
359 views

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

I have tried this plot: ...
9
votes
1answer
580 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, ...
8
votes
3answers
195 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
4answers
7k views

Position of axes labels

I have a 2D parametric plot like the following: ...
8
votes
5answers
818 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
482 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
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: ...
8
votes
1answer
761 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? ...
8
votes
1answer
110 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
298 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
265 views

How to use a Callout in GeoGraphics?

It seems callout is only for plots and not for graphics :( ...
8
votes
2answers
2k 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 ...
7
votes
4answers
320 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
964 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
1k 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
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
262 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
1answer
70 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
80 views

DateHistogram FrameLabel overlaps FrameTicks

Bug introduced in 11.3 or earlier and persisting through 12.0.0 ...
7
votes
3answers
388 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
1answer
57 views

Custom alignment for GeoMarkers

I need to align a GeoMarker at the bottom left of the marker: ...
7
votes
1answer
97 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
1answer
72 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
1answer
166 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: ...
7
votes
1answer
162 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: