SHARE
TWEET

Untitled

a guest Aug 19th, 2019 74 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. documentclass[margin=3mm]{standalone}
  2. usepackage[english,spanish]{babel}         % multilenguaje
  3. usepackage{pgfplots}
  4. usetikzlibrary{babel,
  5.     positioning}
  6. pgfplotsset{compat=1.16,width=0.98linewidth}
  7.  
  8.  
  9.  
  10. usepackage{filecontents}
  11. begin{filecontents}{performance.data}
  12.     x    A       B         C        D        E         F
  13.     0.01 0.9126  0.9126   0.9313   0.9494   0.9524   0.9462
  14.     0.02 0.8872  0.8872   0.8980   0.9044   0.9014   0.8966
  15.     0.03 0.8713  0.8713   0.8747   0.8767   0.8737   0.8722
  16.     0.05 0.8549  0.8549   0.8552   0.8541   0.8538   0.8532
  17.     0.09 0.8710  0.8710   0.8700   0.8687   0.8676   0.8667
  18.     0.10 0.8782  0.8782   0.8771   0.8751   0.8740   0.8738
  19.     0.20 0.9301  0.9301   0.9281   0.9275   0.9269   0.9271
  20. end{filecontents}
  21. decimalpoint
  22.  
  23.  
  24. begin{document}
  25.     begin{tikzpicture}
  26.     begin{axis}[
  27.     grid = none,
  28.     legend style={at={(0.97,0.03)}, anchor=south east, draw=black},
  29. %   legend cell align=left,        
  30. %   legend pos=north east,
  31.     xmin=0.000499999999999999, xmax=0.2095,
  32.     ylabel={RMSE},
  33.     xlabel={$lambda$},
  34.     %
  35.     xticklabel style={font=small,
  36.         /pgf/number format/fixed},  
  37.     yticklabel style={font=small},
  38.     %
  39.     every axis plot post/.append style={line width=1.2pt},
  40.     %
  41.     mark size=1.3pt,
  42.     cycle list={
  43.         {blue,mark=*},
  44.         {black,mark=*},
  45.         {red,mark=*},
  46.         {green,mark=*},
  47.         {orange,mark=*},
  48.         {cyan,mark=*},% <-- don't add a comma here
  49.     },
  50.     ]
  51.     addplot    table [y=A] {performance.data};
  52.     addlegendentry{20 f}
  53.     addplot    table [y=B] {performance.data};
  54.     addlegendentry{40 f}
  55.     addplot    table [y=C] {performance.data};
  56.     addlegendentry{60 f}
  57.     addplot    table [y=D] {performance.data};
  58.     addlegendentry{100 f}
  59.     addplot    table [y=E] {performance.data};
  60.     addlegendentry{150 f}
  61.     addplot    table [y=F] {performance.data};
  62.     addlegendentry{200 f}
  63.     end{axis}
  64.     end{tikzpicture}
  65. end{document}
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top