Advertisement
Guest User

Untitled

a guest
Jun 30th, 2016
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. input{H6}
  2.  
  3. begin{figure}
  4. centering
  5. input{./H6Figs/Eyeartable.tikz}
  6. end{figure}
  7.  
  8. Main folder:
  9. main.tex
  10. H6.tex
  11. |
  12. --H6 (folder)
  13. Eyeartable.tikz
  14. Eyear.dat
  15.  
  16. begin{tikzpicture}
  17.  
  18. begin{axis}[
  19. ylabel={$Daily ; Energy ; [kWh]$},
  20. xmin=-7, xmax=371,
  21. ymin=-50, ymax=40,
  22. axis on top,
  23. width=figurewidth,
  24. height=figureheight,
  25. xtick={0,59,120,181,243,304},
  26. xticklabels={Jan 1,Mar 1,May 1,Jul 1,Sep 1,Nov 1},
  27. legend entries={Consumed,Generated,Exchanged},
  28. xticklabel style={anchor=north east,rotate=45}
  29. ]
  30.  
  31. addplot[mark=none,color=blue] table[x index=0,y index=1,header=false] {"Eyear.dat"};
  32. addplot[mark=none,color=green!50.0!black] table[x index=0,y index=2,header=false] {"Eyear.dat"};
  33. addplot[mark=none,color=red] table[x index=0,y index=3,header=false] {"Eyear.dat"};
  34.  
  35.  
  36. end{axis}
  37.  
  38. end{tikzpicture}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement