Hello,
can you please help me?
I use the code below to plot my data
\begin{tikzpicture}
\begin{axis}[
grid = both,
minor tick num=3,
every major grid/.style={red, opacity=0.2},
height= 1\textwidth,
width = 0.95\textwidth,
thick,
scale=0.3,
xlabel=Itteration,
ylabel=P Values]
\addplot table [smooth,mark=none,y=accuracy, x=itteration]{data.dat};
\addlegendentry{accuracy}
major tick length=0pt,
minor tick length=0pt,
\end{axis}
\end{tikzpicture}
I need to label the minimum point with its coordinate. I need a code to find the minimum value of the data.
Thanks
Graphics, Figures & Tables ⇒ label minimum point of the function
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Stefan Kottwitz
- Site Admin
- Posts: 10348
- Joined: Mon Mar 10, 2008 9:44 pm
label minimum point of the function
Hi Rafi,
welcome to the forum!
Would you like to post complete (compilable) code? So we could test it. Of course, the used file data.dat would be needed too. We can post files here, as attachments to posts. The "Attachments" link is below the text edit field, when writing a post.
Stefan
welcome to the forum!
Would you like to post complete (compilable) code? So we could test it. Of course, the used file data.dat would be needed too. We can post files here, as attachments to posts. The "Attachments" link is below the text edit field, when writing a post.
Stefan
LaTeX.org admin