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.

3
votes
1answer
32 views

How to split overlapping values from different axis?

There are overlapping numbers in the plot below (the left down corner). The axis $T_e$ has the value $10^{0}$, and the axis $n_i$ has $10^9$. But the problem is that the values are imaged in the same ...
0
votes
0answers
44 views

Problems plotting labels

When i plot labels on a graph, then the text "field" is much bigger than the text itself. It gives some problems for me regarding placing the labels properly. Can someone help me fix this? see code ...
0
votes
1answer
29 views

Avoiding distinct background appearing behind plo label text

I keep getting a light background behind my text when I use the PlotLabels option (see picture below). ...
1
vote
1answer
38 views

The labels in the plot don't appear

the labels in the plot doesn't appear, axeslabel, plotlabel and plotlabels. ...
1
vote
1answer
39 views

Three questions to customizing `Ticks` in `Plot`, `LogPlot` and `LogLogPlot`

When making a plot, sometimes I would like to alter the ticks and labeling of the ticks, in particular when doing a LogPlot or ...
3
votes
2answers
69 views

Images as labels - resizing problem

I'd like to label a pie chart with images, ideally resized to fit inside the sectors. The problem is I can't seem to control the size of the imported images. Here's an MWE with no attempt at resizing, ...
3
votes
2answers
45 views

How to explicitly assign the position in Labeled[]?

From the documentation, Labeled accepts the positions 'Top, Bottom, Right, Left'. But this is too vague in some situations. So my question is whether it's possible ...
3
votes
1answer
37 views

How to label the nodes of a graph with the numbers in a list?

I have an adjacency matrix "am" and I want to color the nodes with four colors. Here I what do... ...
4
votes
1answer
35 views

Customizing contour labels in ContourPlot

I have a contour plot. I want to make some changes in the contour labels. I want them to place along each contour in white color. Here is my code ...
0
votes
0answers
28 views

Changing the position of PlotLabels

In the image below, the PlotLabels are, in my view, too close together. I am using the code: PlotLabels -> Placed[{" t = 4"}, {Scaled[1], After}] Is there any ...
3
votes
1answer
44 views

How can I change the gap between a plot's frame and its legends?

How can I change the gap (marked by the double arrow below) between a frame and a plot legend? ...
1
vote
0answers
27 views

How to ensure that FindClusters and ClusterClassify have the same cluster name?

I am trying to ensure that both the FindCluster and ClusterClassify function provide the same cluster name. To explain this ...
1
vote
2answers
132 views

How to get proper Callout in BarChart?

Consider the following data. ...
1
vote
1answer
26 views

Calibrating the axes of a 2D plot

When the data a = Table[Sin[x], {x, 1, 20, 0.1}]; ListPlot[0.1 *a] is plotted, one finds that the range of x-axes is labeled as 0 to 200: How can one reset the ...
0
votes
1answer
47 views

Label position and angle-marking on right triangle

Using the advice given here, I have a right triangle given by ...
0
votes
1answer
58 views

Removing background from text

I have the following plot I'd like to remove the edges of what look like boxes around the text with T's. For example, the $5T_2$ label has a hard edge around it which cuts into the lines. Is there a ...
3
votes
1answer
44 views

How to force FrameTicks labels to be nonlinear?

I want to make a color bar with nonlinear scale , with code ...
1
vote
1answer
24 views

Formatting several labels in BarChart

I have the following BarChart with labels on the bars and labels at the bottom: ...
1
vote
1answer
46 views

ListPolarPlot Marker and Labelling

I have a list of data points to plot. These points all have the same radius of 1. The angles are different generally speaking, but it is possible some points can have the same angle, or the same angle ...
7
votes
3answers
75 views

DateHistogram FrameLabel overlaps FrameTicks

Bug introduced in 11.3 or earlier and persisting through 12.0.0 ...
0
votes
1answer
36 views

How to plot two functions together when one of them needs to be a series of dots, with common labels and colors?

I have two functions that I want to plot together. I want to plot the non-linear and the linear (NL and L in my code) functions together, but I wish that the NL function is plotted as a series of dots ...
11
votes
1answer
167 views

Plotting cities with Callout labels on a globe?

This question essentially amounts to implementing a very basic version of GeoGraphics3D: ...
2
votes
1answer
104 views

How can I replace x-axis labels with pre-determined symbols? [closed]

I want to take a simple plot and change the x-axis so it appears to be measured in terms of certain symbols that are used in the physics literature. See the image below for an example. I will ...
2
votes
1answer
83 views

How can I remove extra parentheses in a plot callout?

This question is motivated by this question and its answers. Firstly, I wish to display "O(x)" instead of "x" as the callout labels. When I do this ...
7
votes
1answer
53 views

Custom alignment for GeoMarkers

I need to align a GeoMarker at the bottom left of the marker: ...
2
votes
2answers
85 views

Distance between axes and tick labels

A similar question has been axed before in the context of a Framed plot: see here. My plot is unframed so I wasn't able to apply the answer to the other question. I create a histogram with the code ...
1
vote
1answer
87 views

Changing Axes Values in MatrixPlot

I have a matrix of values (potentially quite big), which I have decoded into values of -1, 0 and 1 based on some rules. I want to use the MatrixPlot to see the ...
4
votes
1answer
59 views

Is there any way to turn Labeled[…] into graphics primitives?

I have asked a similar question before. In that question I pointed out that the following code does not work: ...
1
vote
0answers
45 views

Labeling edges in Graph

I want to make a graph of the mother nuclides of all Tin Isotopes. I found this ...
3
votes
2answers
163 views

Label on boundary of region plot

Consider this plot RegionPlot[{n + k > 6}, {n, 0, 4}, {k, 0, 15}, BoundaryStyle -> None] I want to add a label on the boundary like in the picture. How can ...
1
vote
1answer
31 views

top and right FrameLabel not working for ListPlot

Since upgrading to version 11.3 (Linux CentOS7 64b), FrameLabel can only provide the normal labels, to the left and below the plot, for ListPlot, however it works as it should for any other plots. ...
0
votes
3answers
60 views

Drawing a diagram showing how a parabola is generated

I need help. How do I create a plot like the one shown below in Wolfram Mathematica? It's the upper-right picture, for value of p = 1/2, that I want. Is it ...
1
vote
1answer
48 views

How to fix the label and a viewpoint for a 3d surface plot [closed]

I have plotted a data, now I want to label this plot, x-axis as K1, y as K2, z as b. And I also I want to fix the viewpoint, right now I am doing it manually is there means to just input the view ...
1
vote
1answer
60 views

Legend display on mouse hover over region made using RegionPlot

Is there a way to label a region plotted using RegionPlot automatically, i.e. for the legend to appear inside the region without having to specify coordinates? ...
8
votes
1answer
106 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 ...
0
votes
3answers
71 views

Change numerical $ x $-axis to strings $ x $-axis

Suppose I have a plot something like this: ...
1
vote
0answers
39 views

DensityPlot, ScalingFunctions, and small values

Edit: I figured out I can use Rescale to retrieve the plot as well as get the correct plot legend. I still can't figure out how to rescale the axes from 10^-9 to 1 ...
2
votes
2answers
75 views

Change color of label in Labeled

I have a stacked bar chart and one of the bars in the chart shows the value. I am using Labeled to put the value where I need it, but I can't seem to figure out how to change the color of the text. I ...
3
votes
2answers
137 views

LabelingFunction won't show all the labels

I am trying to plot a ListPlot where each point has a label. Unfortunately Mathematica seems to decide that is a label is too large, it will not show it. I would ...
0
votes
0answers
22 views

How to move a single TickLabel

my code is ...
3
votes
2answers
72 views

Changing the position of panel titles

I am trying to plot three panels side-by-side with ...
2
votes
1answer
62 views

Inconsistent edge label positions in a graph with straight and curved edges

Consider this small graph with a straight edge between two nodes and another edge being a loop at one of the two vertices: ...
0
votes
0answers
22 views

Labels on 2D ListPlot Markers [duplicate]

If we take the example ListPlot[{{1.5, 2}, {1, -2}, {2.5, 6}, {3, -5}} -> {"a", "b", "c", "d"}] I would to see the labels correctly correspond to the 2D ...
1
vote
1answer
196 views

Plotting Ordered Pairs with Labels

Question: How would one recreate a plot similar to the one below? Notice that the points are labelled. To keep things easy, suppose our points are $(1,1)$ with label "point1" and $(1, 2)$ with ...
0
votes
1answer
33 views

How to draw auxiliary line and point label? [duplicate]

I wan to draw the ECC and the auxiliary line. I tried this: ...
1
vote
2answers
84 views

Change distance between vertical y-axis label and plot

I'm trying to do something that should be fairly straightforward: having a vertical y-axis label. My problem is, it creates a ridiculously large space between the label and the axis (exactly what I'm ...
3
votes
2answers
165 views

How can I display points with their coordinates?

...
2
votes
1answer
80 views

labeling data in a list

I have the following list: l={{1,2},{3,4},{5,6}} I want to list plot above such that the first element {1,2} can be labeled "a", {3,4} labeled "b" and {5,6} to ...
1
vote
0answers
21 views

Optimal Size labelling for saving Graph on File

I looked at Labeling vertices by number in Graph: Getting text to display at the right size but did not find an answer for my case. I want to save a table of graphs on file, pdf or PNG, for a ...
2
votes
2answers
94 views

PlotLabel colliding with AxesLabel

I'm having some trouble with PlotLabel overlapping with AxesLabel, when the values of the points being plotted are large in ...