Is there a PlotLabels placement such as “Above Left” or “Below Right”, etc.?Placing bar chart labels on the upper and lower frame axesFixing ticks labels position in plotIs there a way to control the placement of individual tick mark labels?How can I graph this inequality on the x-y plane?Not getting smooth motion when animating a 3D plot (with jumps in rotation)Change the vertical order of automatic PlotLabels without changing the horizontal positioningOnly significands on y-axisDiagonal position of Labels in ListPlot

How to pronounce correctly [b] and [p]? As well [t]/[d] and [k]/[g]

Can elves trance in armor without any downsides?

Are Star Trek races uniform?

Tear in RFs, not losing air

Are dead worlds a good galactic barrier?

Why did my relationship with my wife go down by two hearts?

Visualize a large int

I don't want my ls command in my script to print results on screen

How to identify/find replacement bolt for STI

Conveying the idea of "tricky"

Reading GeoPackage with large features is very slow

Is there a PlotLabels placement such as "Above Left" or "Below Right", etc.?

Why were germanium diodes so fast and germanium transistors so slow?

How to deal with people whose priority is to not get blamed?

Can Microsoft employees see my data in Azure?

Confused about the meaning of the word "open" in this sentence

When was the famous "sudo warning" introduced? Under what background? By whom?

On notice period - coworker I need to train is giving me the silent treatment

Russian Caesar cipher

Linux Commands in Python

Did the US push the Kurds to lower their defences against Turkey in the months preceding the latest Turkish military operation against them?

Did it take 3 minutes to reload a musket when the second amendment to the US constitution was ratified?

Would a spacecraft carry arc welding supplies?

When applying for a visa has there ever been a case of embassy asking for proof of right to be in the present country?



Is there a PlotLabels placement such as “Above Left” or “Below Right”, etc.?


Placing bar chart labels on the upper and lower frame axesFixing ticks labels position in plotIs there a way to control the placement of individual tick mark labels?How can I graph this inequality on the x-y plane?Not getting smooth motion when animating a 3D plot (with jumps in rotation)Change the vertical order of automatic PlotLabels without changing the horizontal positioningOnly significands on y-axisDiagonal position of Labels in ListPlot






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;

.everyonelovesstackoverflowposition:absolute;height:1px;width:1px;opacity:0;top:0;left:0;pointer-events:none;








5














$begingroup$


I am trying to add labels to a plot in specific positions. I give a simple example:



Plot[1 - x^2, x, -1, 1,
PlotLabels -> Placed["A", "B", "C",
-1,Left,0, Above, 1, Right]]


So I would like to have the labels A, B, C at the locations x=-1,0,1 of the plot. I know of "Above", "Below", "Left", "Right" as locations for the labels to be placed. However I would like something like "Above Left" or "Above Right", so A and C are not intersecting the x-axis, and B is not intersection the y-axis.



Does that command exist?



Simply choosing the locations Above ±(1+epsilon) does not work, since the plot range is from -1 to 1.



If there is a way to fine-tune the concrete position that would also be nice to know how that works. I actually wouldn't necessarily require labels to a curve, but simply labels at some chosen coordinate in the plot.



Thanks for suggestions!










share|improve this question












$endgroup$














  • $begingroup$
    Plot[1 - x^2, x, -1, 1, PlotLabels -> Placed["A", -1, Left], PlotRange -> All] works for me as well as simple Plot[1 - x^2, x, -1, 1, PlotLabels -> Placed["A", Left], PlotRange -> All].
    $endgroup$
    – Alx
    8 hours ago










  • $begingroup$
    @Alx Thanks for the answer! I meanwhile also found out, that I can just enter the location as coordinates, e.g. -1.05,1.05,…,….
    $endgroup$
    – Britzel
    8 hours ago

















5














$begingroup$


I am trying to add labels to a plot in specific positions. I give a simple example:



Plot[1 - x^2, x, -1, 1,
PlotLabels -> Placed["A", "B", "C",
-1,Left,0, Above, 1, Right]]


So I would like to have the labels A, B, C at the locations x=-1,0,1 of the plot. I know of "Above", "Below", "Left", "Right" as locations for the labels to be placed. However I would like something like "Above Left" or "Above Right", so A and C are not intersecting the x-axis, and B is not intersection the y-axis.



Does that command exist?



Simply choosing the locations Above ±(1+epsilon) does not work, since the plot range is from -1 to 1.



If there is a way to fine-tune the concrete position that would also be nice to know how that works. I actually wouldn't necessarily require labels to a curve, but simply labels at some chosen coordinate in the plot.



Thanks for suggestions!










share|improve this question












$endgroup$














  • $begingroup$
    Plot[1 - x^2, x, -1, 1, PlotLabels -> Placed["A", -1, Left], PlotRange -> All] works for me as well as simple Plot[1 - x^2, x, -1, 1, PlotLabels -> Placed["A", Left], PlotRange -> All].
    $endgroup$
    – Alx
    8 hours ago










  • $begingroup$
    @Alx Thanks for the answer! I meanwhile also found out, that I can just enter the location as coordinates, e.g. -1.05,1.05,…,….
    $endgroup$
    – Britzel
    8 hours ago













5












5








5





$begingroup$


I am trying to add labels to a plot in specific positions. I give a simple example:



Plot[1 - x^2, x, -1, 1,
PlotLabels -> Placed["A", "B", "C",
-1,Left,0, Above, 1, Right]]


So I would like to have the labels A, B, C at the locations x=-1,0,1 of the plot. I know of "Above", "Below", "Left", "Right" as locations for the labels to be placed. However I would like something like "Above Left" or "Above Right", so A and C are not intersecting the x-axis, and B is not intersection the y-axis.



Does that command exist?



Simply choosing the locations Above ±(1+epsilon) does not work, since the plot range is from -1 to 1.



If there is a way to fine-tune the concrete position that would also be nice to know how that works. I actually wouldn't necessarily require labels to a curve, but simply labels at some chosen coordinate in the plot.



Thanks for suggestions!










share|improve this question












$endgroup$




I am trying to add labels to a plot in specific positions. I give a simple example:



Plot[1 - x^2, x, -1, 1,
PlotLabels -> Placed["A", "B", "C",
-1,Left,0, Above, 1, Right]]


So I would like to have the labels A, B, C at the locations x=-1,0,1 of the plot. I know of "Above", "Below", "Left", "Right" as locations for the labels to be placed. However I would like something like "Above Left" or "Above Right", so A and C are not intersecting the x-axis, and B is not intersection the y-axis.



Does that command exist?



Simply choosing the locations Above ±(1+epsilon) does not work, since the plot range is from -1 to 1.



If there is a way to fine-tune the concrete position that would also be nice to know how that works. I actually wouldn't necessarily require labels to a curve, but simply labels at some chosen coordinate in the plot.



Thanks for suggestions!







plotting legending labeling






share|improve this question
















share|improve this question













share|improve this question




share|improve this question








edited 7 hours ago







Britzel

















asked 8 hours ago









BritzelBritzel

2086 bronze badges




2086 bronze badges














  • $begingroup$
    Plot[1 - x^2, x, -1, 1, PlotLabels -> Placed["A", -1, Left], PlotRange -> All] works for me as well as simple Plot[1 - x^2, x, -1, 1, PlotLabels -> Placed["A", Left], PlotRange -> All].
    $endgroup$
    – Alx
    8 hours ago










  • $begingroup$
    @Alx Thanks for the answer! I meanwhile also found out, that I can just enter the location as coordinates, e.g. -1.05,1.05,…,….
    $endgroup$
    – Britzel
    8 hours ago
















  • $begingroup$
    Plot[1 - x^2, x, -1, 1, PlotLabels -> Placed["A", -1, Left], PlotRange -> All] works for me as well as simple Plot[1 - x^2, x, -1, 1, PlotLabels -> Placed["A", Left], PlotRange -> All].
    $endgroup$
    – Alx
    8 hours ago










  • $begingroup$
    @Alx Thanks for the answer! I meanwhile also found out, that I can just enter the location as coordinates, e.g. -1.05,1.05,…,….
    $endgroup$
    – Britzel
    8 hours ago















$begingroup$
Plot[1 - x^2, x, -1, 1, PlotLabels -> Placed["A", -1, Left], PlotRange -> All] works for me as well as simple Plot[1 - x^2, x, -1, 1, PlotLabels -> Placed["A", Left], PlotRange -> All].
$endgroup$
– Alx
8 hours ago




$begingroup$
Plot[1 - x^2, x, -1, 1, PlotLabels -> Placed["A", -1, Left], PlotRange -> All] works for me as well as simple Plot[1 - x^2, x, -1, 1, PlotLabels -> Placed["A", Left], PlotRange -> All].
$endgroup$
– Alx
8 hours ago












$begingroup$
@Alx Thanks for the answer! I meanwhile also found out, that I can just enter the location as coordinates, e.g. -1.05,1.05,…,….
$endgroup$
– Britzel
8 hours ago




$begingroup$
@Alx Thanks for the answer! I meanwhile also found out, that I can just enter the location as coordinates, e.g. -1.05,1.05,…,….
$endgroup$
– Britzel
8 hours ago










1 Answer
1






active

oldest

votes


















6
















$begingroup$

Plot[1 - x^2,1 - x^2,1 - x^2, x, -1, 1,
PlotStyle -> ColorData[97][1],
PlotLabels -> Placed["A", "B", "C",
Left, Bottom, Right, Bottom, Above,Left]]


enter image description here



 Plot[1 - x^2, 1 - x^2, 1 - x^2, x, -1, 1,
PlotStyle -> ColorData[97][1],
PlotLabels -> Placed["A", "B", "C",
-1, .1, .1, 1, 1, .1]]


enter image description here






share|improve this answer










$endgroup$














  • $begingroup$
    Thanks a lot good Sir!
    $endgroup$
    – Britzel
    7 hours ago










  • $begingroup$
    @Britzel, my pleasure. Thank you for the accept.
    $endgroup$
    – kglr
    7 hours ago












Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "387"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);














draft saved

draft discarded
















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmathematica.stackexchange.com%2fquestions%2f207698%2fis-there-a-plotlabels-placement-such-as-above-left-or-below-right-etc%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown


























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









6
















$begingroup$

Plot[1 - x^2,1 - x^2,1 - x^2, x, -1, 1,
PlotStyle -> ColorData[97][1],
PlotLabels -> Placed["A", "B", "C",
Left, Bottom, Right, Bottom, Above,Left]]


enter image description here



 Plot[1 - x^2, 1 - x^2, 1 - x^2, x, -1, 1,
PlotStyle -> ColorData[97][1],
PlotLabels -> Placed["A", "B", "C",
-1, .1, .1, 1, 1, .1]]


enter image description here






share|improve this answer










$endgroup$














  • $begingroup$
    Thanks a lot good Sir!
    $endgroup$
    – Britzel
    7 hours ago










  • $begingroup$
    @Britzel, my pleasure. Thank you for the accept.
    $endgroup$
    – kglr
    7 hours ago















6
















$begingroup$

Plot[1 - x^2,1 - x^2,1 - x^2, x, -1, 1,
PlotStyle -> ColorData[97][1],
PlotLabels -> Placed["A", "B", "C",
Left, Bottom, Right, Bottom, Above,Left]]


enter image description here



 Plot[1 - x^2, 1 - x^2, 1 - x^2, x, -1, 1,
PlotStyle -> ColorData[97][1],
PlotLabels -> Placed["A", "B", "C",
-1, .1, .1, 1, 1, .1]]


enter image description here






share|improve this answer










$endgroup$














  • $begingroup$
    Thanks a lot good Sir!
    $endgroup$
    – Britzel
    7 hours ago










  • $begingroup$
    @Britzel, my pleasure. Thank you for the accept.
    $endgroup$
    – kglr
    7 hours ago













6














6










6







$begingroup$

Plot[1 - x^2,1 - x^2,1 - x^2, x, -1, 1,
PlotStyle -> ColorData[97][1],
PlotLabels -> Placed["A", "B", "C",
Left, Bottom, Right, Bottom, Above,Left]]


enter image description here



 Plot[1 - x^2, 1 - x^2, 1 - x^2, x, -1, 1,
PlotStyle -> ColorData[97][1],
PlotLabels -> Placed["A", "B", "C",
-1, .1, .1, 1, 1, .1]]


enter image description here






share|improve this answer










$endgroup$



Plot[1 - x^2,1 - x^2,1 - x^2, x, -1, 1,
PlotStyle -> ColorData[97][1],
PlotLabels -> Placed["A", "B", "C",
Left, Bottom, Right, Bottom, Above,Left]]


enter image description here



 Plot[1 - x^2, 1 - x^2, 1 - x^2, x, -1, 1,
PlotStyle -> ColorData[97][1],
PlotLabels -> Placed["A", "B", "C",
-1, .1, .1, 1, 1, .1]]


enter image description here







share|improve this answer













share|improve this answer




share|improve this answer










answered 8 hours ago









kglrkglr

221k10 gold badges251 silver badges508 bronze badges




221k10 gold badges251 silver badges508 bronze badges














  • $begingroup$
    Thanks a lot good Sir!
    $endgroup$
    – Britzel
    7 hours ago










  • $begingroup$
    @Britzel, my pleasure. Thank you for the accept.
    $endgroup$
    – kglr
    7 hours ago
















  • $begingroup$
    Thanks a lot good Sir!
    $endgroup$
    – Britzel
    7 hours ago










  • $begingroup$
    @Britzel, my pleasure. Thank you for the accept.
    $endgroup$
    – kglr
    7 hours ago















$begingroup$
Thanks a lot good Sir!
$endgroup$
– Britzel
7 hours ago




$begingroup$
Thanks a lot good Sir!
$endgroup$
– Britzel
7 hours ago












$begingroup$
@Britzel, my pleasure. Thank you for the accept.
$endgroup$
– kglr
7 hours ago




$begingroup$
@Britzel, my pleasure. Thank you for the accept.
$endgroup$
– kglr
7 hours ago


















draft saved

draft discarded















































Thanks for contributing an answer to Mathematica Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

Use MathJax to format equations. MathJax reference.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmathematica.stackexchange.com%2fquestions%2f207698%2fis-there-a-plotlabels-placement-such-as-above-left-or-below-right-etc%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown