Guest User

Untitled

a guest
Feb 25th, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.56 KB | None | 0 0
  1. begin{figure}
  2. centering
  3.  
  4. pgfplotstableread{
  5. 0 0 0.2857 0 0 0 0.4286 0 0
  6. 1 0.7143 0.8571 0.7143 0 0.7143 0.8571 0.7143 0
  7. 2 0.7143 0.2857 0.5714 0.1429 0.7143 0.2857 0.5714 0.1429
  8. 3 0 0 0 0.8571 0 0 0 0.8571
  9. }first
  10.  
  11. pgfplotstableread{
  12. 0 0 0.1429 0 0 0 0.1429 0 0
  13. 1 0 0.2857 0 0 0 0.4286 0 0
  14. 2 0 0.7143 0 0 0 0.7143 0 0
  15. 3 1.0000 0.2857 1.0000 0.1429 1.0000 0.2857 1.0000 0.1429
  16. 4 0 0 0 0.8571 0 0 0 0.8571
  17. }second
  18.  
  19. begin{tikzpicture}
  20. begin{groupplot}[
  21. group style={group size = 1 by 2, xticklabels at=edge bottom},
  22. ymin=0,
  23. axis on top,
  24. ybar=1pt,
  25. xtick=data,
  26. enlarge x limits=0.2,
  27. every axis plot/.append style={fill},
  28. cycle list name = Paired,
  29. tick label style={font=footnotesize},
  30. width = 0.8textwidth
  31. ]
  32. nextgroupplot
  33. addplot[] table[x index=0,y index=0] first;
  34. addplot[] table[x index=0,y index=1] first;
  35. addplot[] table[x index=0,y index=2] first;
  36. addplot[] table[x index=0,y index=3] first;
  37. addplot[] table[x index=0,y index=4] first;
  38. addplot[] table[x index=0,y index=5] first;
  39. addplot[] table[x index=0,y index=6] first;
  40. addplot[] table[x index=0,y index=7] first;
  41. %coordinate (top) at (rel axis cs:0,1);
  42. nextgroupplot
  43. addplot[] table[x index=0,y index=0] second;
  44. addplot[] table[x index=0,y index=1] second;
  45. addplot[] table[x index=0,y index=2] second;
  46. addplot[] table[x index=0,y index=3] second;
  47. addplot[] table[x index=0,y index=4] second;
  48. addplot[] table[x index=0,y index=5] second;
  49. addplot[] table[x index=0,y index=6] second;
  50. addplot[] table[x index=0,y index=7] second;
  51. %coordinate (bot) at (rel axis cs:1,0);
  52. end{groupplot}
  53. %path (top-|current bounding box.west)--node[anchor=south,rotate=90] {Empirical prob. of correctly selecting the order} (bot-|current bounding box.west);
  54. %%Legend
  55. %path (top|-current bounding box.north)--coordinate(legendpos) (bot|-current bounding box.north);
  56. %matrix[ matrix of nodes, anchor=south, draw, inner sep=0.2em, draw]
  57. %at([yshift=1ex, xshift=-7.5ex]legendpos)
  58. % {
  59. % ref{SBC}&SBC&[5pt]
  60. % ref{FPE}&FPE&[5pt]
  61. % ref{RNML}&RNML&[5pt]
  62. % ref{AIC}&AIC&[5pt]
  63. % ref{AICc}&$mathrm{AIC_{c}}$&[5pt]
  64. % ref{KIC}&KIC&[5pt]
  65. % ref{KICc}&KIC&[5pt]
  66. % ref{KICd}&$mathrm{KIC_{c}}$&\};
  67. end{tikzpicture}
  68. caption{}
  69. label{}
  70. end{figure}
Add Comment
Please, Sign In to add comment