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.

719 questions
7
votes
4 answers

PlotLabel moves, when i rotate my 3D graphic

How can I stop the label from moving up and down, when rotating using the mouse? Manipulate[ v = {vx, vy, vz}; start = {sx, sy, sz}; Show[ Graphics3D[{Black, Table[{Dashing[0.005], Line[{{i, -5, 0}, {i, 5, 0}}], Line[{{-5, i, 0},…
Sofic
  • 673
  • 3
  • 8
7
votes
2 answers

Align FrameLabel Right

I'd like to align a FrameLabel right. For example: Plot[L[z], {z, 0.32, 1}, PlotRange -> {All, All}, Frame -> True, GridLines -> Automatic, LabelStyle -> {Black, 19}, Axes -> False, FrameLabel -> {"Distance (nm)", "Potencial (Nm)"}] In this…
A. Vieira
  • 503
  • 3
  • 10
6
votes
3 answers

Italic style in the label

For the FrameLabel, I have: Style["\[NumberSign] Humans per city", FontFamily -> "Latin Modern Math"] How can I make only "Humans" in the label to be italic?
user88712
5
votes
0 answers

Why are Label Pixelated?

It seems that Mathematica implements the processing of labels quite different for different plot-functions. The good -> Plot[]: l1 = GraphPlot[Table[i -> 1, {i, 0, 1}]] TPlot = Plot[{Cos[x], Sin[x]}, {x, 0, 1}, ImageSize -> 280, PlotLabel -> (l1),…
Freeman
  • 71
  • 3
5
votes
1 answer

Labeling variables

I want to define a function that outputs, say, an arbitrary number of complex coordinates on a Riemann sphere, $z_i$. In Mathematica, I have been using Subscript[z,i] to label the individual coordinates, but there seems to be issues with the…
Akoben
  • 747
  • 4
  • 13
4
votes
2 answers

ListPlot give special labels position with Callout

When I use ListPlot, I want to show the labels, such as ListPlot[Callout[#, #, Above] & /@ Range[10], Joined -> True, Mesh -> All] Now all positions are Above, but sometimes the labels will over other text, so I want to set some of them Below, for…
zongxian
  • 901
  • 4
  • 8
4
votes
1 answer

Diagonal position of Labels in ListPlot

I would like to plot the following data and set the labels of the point not above, not below, but at an angle -let us say 45degree- with respect to the axis. What is a straightforward…
Luigi
  • 1,301
  • 8
  • 14
3
votes
2 answers

Setting Callout options globally

When I do SetOptions[Callout,CalloutStyle->Red] and then do Plot[Callout[x^2],{x,-3,3}], I get plot with a regular gray (not red) callout marker. Can I not set those options globally?
bmclaurin
  • 341
  • 1
  • 8
3
votes
0 answers

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 way to move the labels apart. I am aware of After, Before, Above, and Below. But is there…
user120911
  • 2,655
  • 9
  • 18
3
votes
3 answers

Labeled plot in Show method

I want to combine a few LisPlots in one Plot, but since all values are negative and there is no positive y-Axis, it looks weird, if th y-axis label is on the edge(you dont know where the label belongs to). So I wanted to put the label at the sides…
Luca Thiede
  • 439
  • 3
  • 10
2
votes
2 answers

Fix the position of the axes label

How can I set the position of the axes labels (X,Y,Z), so that, among other things, they do not overlap with the numbers in the axes? Here an easy…
Mencia
  • 1,324
  • 12
  • 26
2
votes
2 answers

Customizing individual labels in a pie chart

How do you individually rotate labels on a pie chart? For example, I have this chart detailing money composition. Chart2 = PieChart[{10, 5, 22, 63}, ImageSize -> Large, ChartLabels -> Placed[{"Gold (10%)", "Silver (5%)", "Currency (22%)", …
user21359
  • 123
  • 3
2
votes
1 answer

The symbol of number in the label

I'm labeling one of my axis in a plot as "# of humans": Style["# of humans", FontFamily -> "Latin Modern Math"] "#" appears somehow like a square. How can I make it exactly as it appears in this text: "#"?
user88712
2
votes
2 answers

How to show all Callout labels?

expr = Uncompress[FromCharacterCode[ Flatten[ImageData[Import["https://i.stack.imgur.com/Pva9y.png"], "Byte"]]]]; ListLinePlot[expr, PlotRange -> All,ImageSize -> 1000] As we see, it just 4 Callout labels? But how to show all Callout labels?
yode
  • 26,686
  • 4
  • 62
  • 167
2
votes
1 answer

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 original question: data=Table[{t,Re[3 Exp[I 5/2…
1
2