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
4
votes
2answers
137 views

Plot with LabelingFunction and condition

How can I apply a LabelingFunction with an if else condition? Suppose you have the following plot: ...
4
votes
2answers
264 views

How can I add callouts to a LogLogPlot and control their positioning?

I made this plot ...
1
vote
2answers
166 views

Label vertical axis in BoxWhiskerChart

I would like to label the units of the vertical axis on a BoxWhiskerChart, but haven't figured out how to do so. I tried AxesLabel and I tried giving the data units,...
2
votes
0answers
158 views

Stacked BarChart with Callout

BarChart examples include this code : BarChart[Table[Callout[RandomReal[{0, 1}], Unique["text"]], 2, 8], BarSpacing -> 2, ChartLayout -> "Stacked"] Its ...
4
votes
0answers
253 views

How can I put contour labels of contour plot around the frame?

I already defined a ContourPlot with log-log scale and labels, like this: ...
1
vote
2answers
112 views

Label or index images

Question: How can I index (like in the example below: "c" and "d") images outside the frame? I started to code, but I got stuck in the lack of documentation: ...
2
votes
1answer
58 views

How to label group of ticks?

I am plotting a matrix in 3D and what I did so far is this: So, what I would like to do now is to add different labels to group of ticks, in this way: Even only on the bottom axis is perfect. The ...
0
votes
0answers
35 views

Attached program is giving an output, even if conditions are not met

...
1
vote
2answers
100 views

Separating the labels with lines in BarChart

Is there a way to draw a dotted line between the labels of a BarChart? In the following graph, I want to draw a line between for example "Rawlsian with \n corrected ...
4
votes
0answers
182 views

Why are Label Pixelated?

It seems that Mathematica implements the processing of labels quite different for different plot-functions. The good -> Plot[]: ...
0
votes
1answer
140 views

Removing some labels from PlotLabels

How can I remove the labels of some of the curves in Plot? For example in the following plot, how can I remove labels for the first two curves? (removing MSC=0 and MSC=0.06 and keep the rest.) ...
0
votes
1answer
147 views

Adding Parameter Name to Plot Labels

How can I make the curve labels in Plot to show the parameter's name in addition to its number? (MSC=100 instead of just ...
0
votes
1answer
311 views

rotating labels

I have two questions about the following graph: 1) How can I make the x-axis labels to be just "aaa" and "bbb" and not stacked on each other? 2) How can I make the legend to be in one line? Why ...
19
votes
3answers
523 views

How to insert dimensions in graphics?

I'm creating figures (a T beam section) using the Graphics function. Like this: ...
1
vote
1answer
443 views

How can I use Callout with assigned value and text?

This question is very similar to How can I add a plot legend with variable value and text?. I had used this link to plot the graph below, with my slope calculated in the plot legend. However, this ...
1
vote
0answers
66 views

Smaller Labels with Graphics

I have two question regarding Graphics: 1) How can I make the curve label "Marginal Cost with Externality" to seem smaller? ...
5
votes
3answers
837 views

Location of FrameLabel

I want to put FrameLabel above the axes as it is in case of AxesLabel. Is it possible to control the location of FrameLabel in MMA? ...
0
votes
1answer
128 views

Rotate one plot and add legend tp another [closed]

I have one function and some data that I want to plot together. I have two questions. How can I have a legend for dataMC list plot? How can I rotate the ...
1
vote
1answer
500 views

How can I set the gap between a frame label and the frame it labels? [duplicate]

Consider the following code. ...
4
votes
1answer
384 views

Change x-axis date range in DateListPlot

unfortunately, I have a simple problem with my DateListPlot which I cannot solve on my own (with the guidance online). The code looks as follows: ...
4
votes
4answers
166 views

How to change Callout leader size in Plot?

Take this example: Plot[Callout[Sin[x], Sin[x], Above], {x, 0, Pi}] Question: How can I change the length of the line connecting the $\sin(x)$ label with the ...
0
votes
1answer
112 views

PlotLabels with Evaluate

I am plotting a function for different values of a parameter (a). How can I use PlotLables to show the values of the parameter on each curve? Why PlotLabels -> Values@a doesn't work here? ...
1
vote
1answer
394 views

How to set labelled frame ticks on a plot

I wanted to make a plot with custom frame ticks. For example, lets say I want to make a plot ...
4
votes
1answer
239 views

Plot with callouts and arrows

All, I am trying to create a graphic that looks like the follows: ...
3
votes
2answers
333 views

Two legend markers, one legend label?

Does anyone know if it is possible within the LineLegend command to have one label for two types of lines? My legend code is here: ...
0
votes
1answer
250 views

Changing the position of the plot labels in ListLinePlot

How can I change the position of the labels in ListLinePlot to be on the left-hand side of the curves instead of the right-hand side? In addition, how can I make ...
4
votes
1answer
230 views

Vertex labels of graph: {index,weight}

I would like to label vertices of a graph with an ordered pair of the vertex Name (or Index), and the ...
3
votes
3answers
105 views

Vertex relabeling. Ordering from top left in GridGraph

I have a grid graph GridGraph[{15,15},VertexLabels->"Name"] which gives the following but I want the vertex number starts from top left going to right all ...
3
votes
1answer
139 views

Stop cutting a long text in label

In ...
4
votes
1answer
152 views

Distribute labeling function over a list in order to assign different labels in a PieChart

I have a PieChart: PieChart[{{1, 2, 3}, {4, 5, 6}}] I want to label each sublist differently, but ...
1
vote
2answers
74 views

How to draw points in 3D and provide labels for each? [closed]

Is is possible to draw something like this in Mathematica?
0
votes
1answer
114 views

Invert 3D surface plot and add custom Y-axis ticks labels

I have the following data set: ...
2
votes
2answers
2k views

How to place PlotLabel inside the plot frame

I have the following plot: ...
0
votes
1answer
59 views

How to set labelstyle into latex? [duplicate]

I have a picture to draw. But I want to set the label of axis like If you know how to set this, please tell me. Thanks.
6
votes
2answers
345 views

Align FrameLabel Right

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

Adjust labels in SectorChart

This is probably easy to solve, but I can't figure out how. I have a SectorChartlike this: ...
2
votes
4answers
288 views

How to display a symbol or short expression inside a circle?

I need some fast way of putting insets on the graph, where some numbers or symbols are enclosed in a circle (to label curves on a plot). Is there some command to produce such pictures, equivalent to <...
0
votes
0answers
58 views

Callout label with formatting issue

Here is my code... ListPlot[{{1, 1}}, LabelingFunction->(Callout["cm^-1", Above] &)] Except I write "cm^-1" as "cm ctrl+^ -1" so that it looks like "$cm^{-...
2
votes
2answers
486 views

Adding Points on a Graphic

I have three questions about the following code: ...
2
votes
1answer
151 views

How would one add a Line between a ListPlot data point and a Label per Simon Woods solution

In a previous answer posted by Simon Woods on the question of how to automatically locate non-overlapping labels to data shown in a ListPlot; see below: Using this as the as a starting point from the ...
5
votes
2answers
517 views

Adding labels to a bar chart with multiple data sets

I am trying to plot multiple data sets on a bar chart with unrelated column labels for each data set... Suppose my data is a list comprised of three different sub-lists of varying size, i.e., they ...
4
votes
1answer
442 views

How to label the axes without keeping the frame?

I have this plot And I shall label the axes as if I were in the Frame ambient that is, putting $t$ and $d\psi/dt$ on the axis but not at their top and right (like in the normal ...
-1
votes
1answer
203 views

Callout: How to add to listplot?

I have the following code: ...
5
votes
2answers
136 views

How to Label only Certain Vertices in a Network Based on Eigenvector Centrality?

Using the Following Network: footballNetwork = ExampleData[{"NetworkGraph", "AmericanCollegeFootball"}]; Graph[footballNetwork, VertexLabels -> "Name"] I ...
4
votes
2answers
312 views

Place a parameter label under each drawing using Table

I use this code to draw the function by ContourPlot3DMultiple times ...
0
votes
3answers
135 views

How to label output in a Do[…] loop?

I have a huge list = {l1, l2, l3, ...}, which I want to output by labeled rows. My attempt was to ...
1
vote
1answer
804 views

Parentheses in axis labels [duplicate]

For my masters thesis I need plots of squared Bessel Processes, but I can't get the axis lables right. I want the y-axis to be labeled $$\left(R_s^{(n)}\right)^2$$ but I have not been able to get the ...
4
votes
1answer
199 views

How to use Callout in TimelinePlot?

I'd like to annotate a datapoint in my TimelinePlot with a callout. Is there a way or a hack that anyone knows of to get this to work? ...
3
votes
1answer
267 views

Color the labels given by Label in Plot consistently with the colour of the corresponding function

Consider the following toy example: ...
3
votes
2answers
284 views

Labeling elements of a grid

Let's create a simple $3 \times 3$ grid of images ...