Using the following code from the answer of this question
\documentclass{beamer}
\beamertemplatenavigationsymbolsempty
\usepackage{tikz}
\usepackage{pgfplots}
\begin{document}
\begin{frame}[fragile,t]
\frametitle{1}
\tikzset{%
declare function={
myslope(\x) = 20 - \x*(20/20);
},
}
\begin{tikzpicture}[
dot/.style = {circle, black, inner sep=0, minimum size=6pt, fill, node contents={}},
pinlabel/.style={text width=35mm, color=black, fill=yellow!20, xshift=0cm, yshift=0cm, outer sep=0pt, inner sep=5pt},
pinstyle/.style={pin distance=10mm},
every pin edge/.style={black, very thick, shorten >=-20pt},
aligned pin/.style args={[#1]#2:#3}%
{pin={[pinstyle,
label={[append after command={%
node[pinlabel,%
at=(\tikzlastnode.#2),
anchor=#1,
]{#3}}]center:{}}
]#2:{}}%
},
scale=.9, transform shape]
\begin{axis}[
axis lines=center, axis line style={black, thick,-latex},%
axis y line=left, axis x line=bottom,
tick style={line width=.04cm, color=black, line cap=round},%
font=\normalsize, color=black,%
xmin=0, xmax=21,
xtick={0,10}, xticklabels={0,10},
ymin=0, ymax=21,
ytick={10}, yticklabels={10},
tickwidth=.01cm,%
xlabel={$A$},
xlabel style={xshift=.62cm, yshift=0cm}, xlabel style={right},
ylabel={$O$},
ylabel style={xshift=0cm, yshift=.46cm}, ylabel style={above},
xticklabel style={inner xsep=0cm, xshift=0cm, yshift=-.1cm},
yticklabel style={inner ysep=0cm, xshift=-.1cm, yshift=0cm},
]
\draw [thick, black, densely dashed] (axis cs:0,{myslope(10)}) -- (axis cs:10,{myslope(10)}) node [black, xshift=.46cm, yshift=.05cm] {$$} -- (axis cs:10,0);
\addplot [ultra thick, blue, dashed, samples at={10}, mark=*, mark options={blue, solid}, mark size=.12cm] {myslope(x)};
\addplot [ultra thick, blue, dashed, samples at={0,10,20}, mark=*, mark options={blue, solid}, mark size=.12cm,-latex] {myslope(x)};
\scoped[pinlabel/.append style={text width=20mm}, pinstyle/.append style={pin distance=8mm}]
\node at (axis cs:10,{myslope(10)}) [dot, aligned pin={[north west, xshift=.2cm, yshift=.4cm]65:bla bla bla bla}] {};
\end{axis}
\end{tikzpicture}
\end{frame}
\end{document}
which gives me
How to make the following modifications to look like
- make the mark on position 10,10 in a different size and colour.
- draw a frame around the text.
- make the pin displayed with an angle.



pinoption, and instead created a\nodeand manually did the\drawfrom the\nodeto the desired point. – Peter Grill Aug 02 '18 at 08:25