Skip to main content
Commonmark migration
Source Link

To use Labeled to make the kind of label you want, you have to wrap a specific point with Labeled. You also have to use Rotate to get the rotation.

Here is the code:

data = Table[{x, x^2}, {x, 0, 10, 0.1}];
data[[61]] = Labeled[data[[61]], Rotate[Style[x^2, 14, Bold], 40 °]];
ListLinePlot[data]

data[[61]] is the point {6., 36.}

plot

###Update

Update

You can nudge the label with Labeled's 3rd argument. In the following example, I have moved the label somewhat closer to the curve.

data = Table[{x, x^2}, {x, 0, 10, 0.1}];
data[[61]] = Labeled[data[[61]], Rotate[Style[x^2, 14, Bold], 40 °], {.7, 0}];
ListLinePlot[data]

plot

To use Labeled to make the kind of label you want, you have to wrap a specific point with Labeled. You also have to use Rotate to get the rotation.

Here is the code:

data = Table[{x, x^2}, {x, 0, 10, 0.1}];
data[[61]] = Labeled[data[[61]], Rotate[Style[x^2, 14, Bold], 40 °]];
ListLinePlot[data]

data[[61]] is the point {6., 36.}

plot

###Update

You can nudge the label with Labeled's 3rd argument. In the following example, I have moved the label somewhat closer to the curve.

data = Table[{x, x^2}, {x, 0, 10, 0.1}];
data[[61]] = Labeled[data[[61]], Rotate[Style[x^2, 14, Bold], 40 °], {.7, 0}];
ListLinePlot[data]

plot

To use Labeled to make the kind of label you want, you have to wrap a specific point with Labeled. You also have to use Rotate to get the rotation.

Here is the code:

data = Table[{x, x^2}, {x, 0, 10, 0.1}];
data[[61]] = Labeled[data[[61]], Rotate[Style[x^2, 14, Bold], 40 °]];
ListLinePlot[data]

data[[61]] is the point {6., 36.}

plot

Update

You can nudge the label with Labeled's 3rd argument. In the following example, I have moved the label somewhat closer to the curve.

data = Table[{x, x^2}, {x, 0, 10, 0.1}];
data[[61]] = Labeled[data[[61]], Rotate[Style[x^2, 14, Bold], 40 °], {.7, 0}];
ListLinePlot[data]

plot

Added an example
Source Link
m_goldberg
  • 108.1k
  • 16
  • 104
  • 259

To use Labeled to make the kind of label you want, you have to wrap a specific point with Labeled. You also have to use Rotate to get the rotation.

Here is the code:

data = Table[{x, x^2}, {x, 0, 10, 0.1}];
data[[61]] = Labeled[data[[61]], Rotate[Style[x^2, 14, Bold], 40 °]];
ListLinePlot[data]

data[[61]] is the point {6., 36.}

plot

###Update

You can nudge the label with Labeled's 3rd argument. In the following example, I have moved the label somewhat closer to the curve.

data = Table[{x, x^2}, {x, 0, 10, 0.1}];
data[[61]] = Labeled[data[[61]], Rotate[Style[x^2, 14, Bold], 40 °], {.7, 0}];
ListLinePlot[data]

plot

To use Labeled to make the kind of label you want, you have to wrap a specific point with Labeled. You also have to use Rotate to get the rotation.

Here is the code:

data = Table[{x, x^2}, {x, 0, 10, 0.1}];
data[[61]] = Labeled[data[[61]], Rotate[Style[x^2, 14, Bold], 40 °]];
ListLinePlot[data]

data[[61]] is the point {6., 36.}

plot

To use Labeled to make the kind of label you want, you have to wrap a specific point with Labeled. You also have to use Rotate to get the rotation.

Here is the code:

data = Table[{x, x^2}, {x, 0, 10, 0.1}];
data[[61]] = Labeled[data[[61]], Rotate[Style[x^2, 14, Bold], 40 °]];
ListLinePlot[data]

data[[61]] is the point {6., 36.}

plot

###Update

You can nudge the label with Labeled's 3rd argument. In the following example, I have moved the label somewhat closer to the curve.

data = Table[{x, x^2}, {x, 0, 10, 0.1}];
data[[61]] = Labeled[data[[61]], Rotate[Style[x^2, 14, Bold], 40 °], {.7, 0}];
ListLinePlot[data]

plot

Source Link
m_goldberg
  • 108.1k
  • 16
  • 104
  • 259

To use Labeled to make the kind of label you want, you have to wrap a specific point with Labeled. You also have to use Rotate to get the rotation.

Here is the code:

data = Table[{x, x^2}, {x, 0, 10, 0.1}];
data[[61]] = Labeled[data[[61]], Rotate[Style[x^2, 14, Bold], 40 °]];
ListLinePlot[data]

data[[61]] is the point {6., 36.}

plot