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
8
votes
1answer
191 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: ...
8
votes
2answers
373 views

How to use a Callout in GeoGraphics?

It seems callout is only for plots and not for graphics :( ...
8
votes
1answer
323 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
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
193 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
1answer
173 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
389 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
270 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
166 views

Placing labels “around” a GraphicsGrid

I have the following code, which produce the image shown. ...
7
votes
2answers
278 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
256 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
2answers
390 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
9k 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? ...
7
votes
2answers
139 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
3answers
137 views

DateHistogram FrameLabel overlaps FrameTicks

Bug introduced in 11.3 or earlier and persisting through 12.2.0 ...
7
votes
1answer
83 views

Controling the vertical distance between labels

Here we have a simple example ...
7
votes
3answers
517 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
75 views

Custom alignment for GeoMarkers

I need to align a GeoMarker at the bottom left of the marker: ...
7
votes
1answer
101 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
327 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
1answer
278 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 ...
7
votes
1answer
111 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
0answers
198 views

Label Resolution in Plot3D with MaTeX

I am using MaTeX (check this for installation) for labeling which works fine with Plot but with ...
6
votes
4answers
442 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? ...
6
votes
3answers
2k views

Labeling points of a list in plot

A list of georeferenced points is: ...
6
votes
3answers
935 views

Generating a convex hull with the hull boundary points labeled

I'm very new to Mathematica, and I'm sure my question is trivial. Suppose a have a (long) list whose elements are of the form {{x, y}, n}, where ...
6
votes
3answers
2k views

Place graph vertex labels in circles

Consider the following code: ...
6
votes
3answers
750 views

Making a rectangular label for RegionPlot

I have a plot that includes a RegionPlot. I want to make a rectangle with the same shading as in the region plot to show as a legend. The dumb way I can think off ...
6
votes
3answers
2k 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]}] ...
6
votes
2answers
249 views

How to change the color of specific ticks in BarLegend?

I would like to set the color of the ticks as in colorbar such that "Cold" is Cyan while "Hot" is Red ...
6
votes
3answers
3k views

Fixing ticks labels position in plot

I have made a figure with this code, where multiple plots are shown together: ...
6
votes
3answers
391 views

Axes Labeling in Bar Charts

How do I label a bar chart such that a list produced by Mathematica such as ...
6
votes
3answers
1k views

How to label ticks in ListLogLogPlot in scientific form in MMA 10.4?

This is a question regarding ListLogLogPlot in MMA 10.4. I have tried the solutions suggested in 5369, and they do not appear to work in MMA 10.4, so I would be grateful if this could be considered a ...
6
votes
3answers
2k views

Ugly fraction in a label

I'm having difficulties in displaying a proper fraction in a label. Here's the 2D graphics which shows the problem : ...
6
votes
2answers
503 views

Labelling points on a NumberLinePlot

I have a list of points plotted using the command: ...
6
votes
3answers
1k views

Plot label distance to plot

Consider the two following similar expressions: ...
6
votes
1answer
830 views

How to change the x-axis ticks from numbers to months

I have a ListLinePlot, for which the x-axis is time (November 2011 to January 2014). Now, when I plot it, the x-axis ticks run from 1 to 28 because the time ...
6
votes
2answers
650 views

Labelling a subset of contours using ListContourPlot

I have a data set with entries of the form [nx,ny,E] and have made a contour plot of this data. I would like to add labels to only a subset of these contours, for instance every other contour. How ...
6
votes
1answer
95 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: ...
6
votes
2answers
596 views

Align FrameLabel Right

I'd like to align a FrameLabel right. For example: ...
6
votes
1answer
137 views

How to create a plot of vectors emanating from the x axis?

I am trying to make a plot that looks something like the image seen below: So far I have the following code: ...
6
votes
2answers
185 views

How can I offset x-axis plot tick's labels?

I have a plot where the x-axis and y-axis coordinates at the origin are really close and kind of overlapping ...
6
votes
2answers
643 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 ...
6
votes
1answer
78 views

Labeling points in plot made from a dataset

I am trying to use Mathematica to do some data analysis. I am trying to label points in a plot of a dataset. I know that Callout should work, but can't for the life ...
6
votes
1answer
48 views

Trouble with VertexLabel in RelationGraph

I have a bunch of high dimensional data and I want to use a graph to plot relationships among that data. To keep things small, say the data is ...

1
2
3 4 5
12