3d-cmos-loss-diagram.tex 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. \documentclass{article}
  2. \usepackage[pdftex,active,tightpage]{preview}
  3. \setlength\PreviewBorder{2mm}
  4. \usepackage{pgfplots}
  5. \usepgfplotslibrary{patchplots}
  6. \begin{document}
  7. \begin{preview}
  8. \pgfplotsset{
  9. colormap={whitered}{
  10. color(0cm)=(white);
  11. color(1cm)=(orange!75!red)
  12. }
  13. }
  14. \begin{tikzpicture}
  15. \begin{axis}[
  16. colormap name=whitered,
  17. width=15cm,
  18. view={10}{15},
  19. enlargelimits=false,
  20. grid=major,
  21. domain=1.5:6,
  22. y domain=0:10^9,
  23. ymode=log,
  24. samples=46, %57 : TeX capacity exceeded, sorry [main memory size=3000000].
  25. % see also http://tex.stackexchange.com/a/7954/5645
  26. xlabel=$V_{dd}$ in V,
  27. ylabel=$f$ in Hz,
  28. zlabel=$P_v$ in mW,
  29. %colorbar,
  30. %colorbar style={
  31. % at={(-0.1,0)},
  32. % anchor=south west,
  33. % height=0.25*\pgfkeysvalueof{/pgfplots/parent axis height},
  34. % title={$f(x,y)$}
  35. %}
  36. ]
  37. %\addplot3[patch,patch type=bilinear,mesh,black] {0};
  38. \addplot3[surf,opacity=0.9] {x*x*y};
  39. \end{axis}
  40. \end{tikzpicture}
  41. \end{preview}
  42. \end{document}