Advertisement
nm9505

Solsticios

Jun 19th, 2023
1,601
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Latex 4.47 KB | Science | 0 0
  1. \documentclass{article}[pstricks,border=8pt,12pt]
  2. \usepackage[utf8]{inputenc} \usepackage{geometry} [a4paper,lmargin=1.5cm,rmargin=1.5cm,Botton=1.5cm,top=1.75cm] \usepackage{graphicx} \usepackage{wrapfig} \usepackage{color} \usepackage{amsmath} \usepackage[T1]{fontenc} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{mathrsfs} \usepackage{cancel} \usepackage[all]{xy} \usepackage{pstricks}
  3. \usepackage{pst-pdf}
  4. \usepackage{pst-solides3d}
  5. \usepackage{pst-all}
  6. \usepackage{fancybox} \usepackage{tikz} \usepackage{tikz-3dplot} \usepackage{gnuplottex}
  7. \usepackage{pst-eucl}
  8. %\usepackage{xkeyval}
  9. \tikzset{flippedeventlabel/.append style={align=center}} \usetikzlibrary{matrix.skeleton} \usetikzlibrary[shapes,arrows,positioning,fit,backgrounds,intersections,shadows,calc,shadings] \usetikzlibrary{positioning} \usetikzlibrary{decorations.text} \usetikzlibrary{decorations.pathmorphing} \pgfdeclarelayer{background layer} \pgfdeclarelayer{foreground layer} \pgfsetlayers{background layer,main,foreground layer}
  10. %\usetikzlibrary{datavisualization.formats.functions} \usepackage{pgf-pie}
  11. \usepackage{color,colortbl} \usepackage{lscape} \usepackage{pgfplots} \pgfplotsset{compat=newest} \usetikzlibrary{datavisualization} \usetikzlibrary[shapes,arrows.meta,positioning,fit,backgrounds,intersections,shadows,calc,datavisualization.formats.functions] \usetikzlibrary{patterns} \usepackage[colorlinks=true,linkcolor=black,citecolor=black,filecolor=magenta,urlcolor=blue]{hyperref} %Paquete de estilo de referencias
  12. \urlstyle{same}  
  13. \date{\today}
  14. % Start the document
  15. \begin{document}
  16. \pagecolor{black}
  17. % Definición local de colores
  18. \colorlet{AnguloH}{green!50!black} \colorlet{AnguloV}{magenta} \colorlet{Cesferica}{red} \colorlet{Ccilindrica}{blue}
  19. \begin{landscape}
  20.  
  21. \begin{center}
  22. \tdplotsetmaincoords{75}{120}
  23. \begin{tikzpicture}[scale=1,tdplot_main_coords, information text/.style={rounded corners,inner sep=2ex,fill=red!20}]
  24. \tikzset{callout/.style={ellipse callout, callout pointer arc=30,
  25. callout absolute pointer={#1}}}
  26.  
  27. \draw (0,0,0) [-,ultra thick, white,x radius=7, y radius=9,fill=orange!60!red!40!black] ellipse;
  28. \node[canvas is xy plane at z = 0, rounded corners,inner sep=2ex,rotate=110] at (-4,-3,0) {\Huge{\bf\textcolor{white}{Plano de Eclíptica}}};
  29. \node[canvas is xy plane at z = 0, rounded corners,inner sep=2ex,rotate=110] at (3,2.5,0) {\Huge{\bf\textcolor{white}{Plano de Eclíptica}}};
  30.  
  31. \begin{scope}[xshift=8cm,yshift=0.6cm, rotate=23] \tdplotsphericalsurfaceplot[smooth,opacity=0.8]{24}{24}{1} {blue!80}{blue!30}{}{}{ \draw[color=white,thick,->] (0,0,-1.5) -- (0,0,1.5) node[anchor=south]{$N$};} \end{scope}
  32. \begin{scope}[xshift=9.5cm,yshift=0.8cm, rotate=23] \tdplotsphericalsurfaceplot[parametricfill]{24}{24}{0.1} {yellow}{\tdplottheta+\tdplotphi}{}{}{ \draw[color=white,thick,-] (0,0,-0.3) -- (0,0,0.3) node[anchor=south]{\tiny{$n$}};} \end{scope}
  33. \foreach \a in {105,110,...,150}
  34. {
  35. \tdplotsinandcos{\sintheta}{\costheta}{\a}
  36. \pgfmathsetmacro{\x}{9*\costheta}
  37. \pgfmathsetmacro{\y}{9*\sintheta}
  38. \foreach \b in {-2.4,-2.2,...,2.4}
  39. {
  40. \tdplotsinandcos{\sintheta}{\costheta}{\b}
  41. \draw[-,yellow](-1.5,0,0) -- (-\x,-\y,8*\sintheta);
  42. }
  43. }
  44. \begin{scope}[xshift=-8.2cm,yshift=0.5cm, rotate=23] \tdplotsphericalsurfaceplot[smooth,opacity=0.8]{24}{24}{1} {blue!80}{blue!30}{}{}{ \draw[color=white,thick,->] (0,0,-1.5) -- (0,0,1.5) node[anchor=south]{$N$};} \end{scope}
  45. \begin{scope}[xshift=-9.8cm,yshift=0.6cm, rotate=23] \tdplotsphericalsurfaceplot[parametricfill]{24}{24}{0.1} {yellow}{\tdplottheta+\tdplotphi}{}{}{ \draw[color=white,thick,-] (0,0,-0.3) -- (0,0,0.3) node[anchor=south]{\tiny{$n$}};} \end{scope}
  46. \foreach \a in {105,110,...,150}
  47. {
  48. \tdplotsinandcos{\sintheta}{\costheta}{\a}
  49. \pgfmathsetmacro{\x}{8*\costheta}
  50. \pgfmathsetmacro{\y}{8*\sintheta}
  51. \foreach \b in {-2.4,-2.2,...,2.4}
  52. {
  53. \tdplotsinandcos{\sintheta}{\costheta}{\b}
  54. \draw[-,yellow](-1.5,0,0) -- (\x,\y,10*\sintheta);
  55. }
  56. }
  57. \node[callout={(-6,4.5,-2.5)}, fill=blue,rotate=0] at (-6.5,3.5,-5) {\textcolor{white}{Solsticio de Verano en hemisferio norte}};
  58. \node[callout={(10,-2,1)}, fill=white,rotate=0] at (10,-2,-2) {\textcolor{blue}{Solsticio de Invierno en hemisferio norte}};
  59. \draw node [white]at (10,-2,-3) {22 de Diciembre};
  60. \draw node [white]at (-6,5,-6) {\Large{20 de Junio}};
  61. \draw [xshift=-1cm]  node  [below=4.5cm,text width=4cm, information text,scale=1]
  62. {
  63. \href{sitio}{\underline{\textcolor{red}{enlace:} Código \LaTeX }}
  64. };
  65.  
  66. \end{tikzpicture}
  67. \end{center}
  68. \end{landscape}
  69. \end{document}
  70.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement