<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Buenas tardes, </div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Es la primera vez que intento realizar un gráfico 3d de series temporales. </div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Sería genial si me pueden dar recomendaciones.</div>
<div style="">
<ul style="">
<li style=""><font color="#000000" face="Calibri, Helvetica, sans-serif"><span style="font-family:Calibri,Helvetica,sans-serif; text-align:start; background-color:rgb(255,255,255); display:inline!important">El paquete rgl, no me funciona - presenta problemas
y no lo he podido solucionar.</span><br>
</font></li><li style=""><font color="#000000" face="Calibri, Helvetica, sans-serif"><span style="font-family:Calibri,Helvetica,sans-serif; text-align:start; background-color:rgb(255,255,255); display:inline!important">Estaba mirando los paquetes:</span></font></li></ul>
<div>
<ol>
<li style="font-family:calibri,helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgba(0,0,0,0)">
<font color="#000000" face="Calibri, Helvetica, sans-serif">plot3D</font></li><li style="font-family:calibri,helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgba(0,0,0,0)">
<font color="#000000" face="Calibri, Helvetica, sans-serif">persp</font></li></ol>
<div><font color="#000000" face="Calibri, Helvetica, sans-serif"><br>
</font></div>
<div><span style="color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;">Estoy intentando graficar la estructura temporal de tipos de interés. </span></div>
<div><span style="color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;"><br>
</span></div>
<div><span style="color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;">Tengo el siguiente data frame: </span></div>
<div><span style="color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;"><br>
</span></div>
<div><span style="color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;">
<pre tabindex="0" style="font-family: 'Ubuntu Mono'; font-size: 10.4pt !important; outline: none; border: none; word-break: break-all; margin: 0px; line-height: 16px; font-weight: normal; orphans: auto; text-align: -webkit-left; widows: auto; background-color: rgb(255, 255, 255)"><span><span style="color: blue">head(my_data)
</span><span style="outline: none; border: none; word-break: break-all; margin: 0px"> Time X1 X3 X6 X9 X12 X24 X36 X48
1 2005-03-31 2.806715 3.092129 3.327171 3.567583 3.721818 4.193947 4.400248 4.532572
2 2005-04-30 3.056105 3.202479 3.397151 3.517993 3.653415 4.026983 4.174945 4.276879
3 2005-05-31 3.105977 3.369325 3.507071 3.601042 3.692508 3.938104 4.025106 4.093301
4 2005-06-30 3.295471 3.541608 3.686809 3.748586 3.809695 3.978009 4.036251 4.080579
5 2005-07-31 3.621530 3.723945 3.952464 4.013754 4.106930 4.377035 4.448525 4.507752
6 2005-08-31 3.634490 3.823886 3.933018 4.013754 4.063131 4.180283 4.221535 4.248280
X60 X72 X84 X96 X108 X120
1 4.640785 4.720800 4.803202 4.865007 4.928754 4.994420
2 4.362086 4.430353 4.500392 4.559681 4.620538 4.682980
3 4.159406 4.214563 4.270946 4.323033 4.376297 4.430772
4 4.124860 4.175897 4.227884 4.272265 4.317588 4.363885
5 4.558090 4.593123 4.629154 4.662033 4.695760 4.730326
6 4.276697 4.312243 4.348436 4.384941 4.422155 4.460119</span></span></pre>
<br>
</span></div>
<div><span style="color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;"><span style="font-family: Calibri, Helvetica, sans-serif; background-color: rgb(255, 255, 255); display: inline !important">Donde:</span></span></div>
<div><span style="color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;"><span style="font-family: Calibri, Helvetica, sans-serif; background-color: rgb(255, 255, 255); display: inline !important">La primera columna son las fechas.</span></span></div>
<div><span style="color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;"><span style="font-family: Calibri, Helvetica, sans-serif; background-color: rgb(255, 255, 255); display: inline !important">Las columnas de la 2 a la 15 (x1...
x120) son los tipos de interés por vencimiento.</span><br>
</span></div>
<div><span style="color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;"><br>
</span></div>
<div><span style="color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;">
<pre tabindex="0" style="font-family: 'Ubuntu Mono'; font-size: 10.4pt !important; outline: none; border: none; word-break: break-all; margin: 0px; line-height: 16px; font-weight: normal; orphans: auto; text-align: -webkit-left; widows: auto; background-color: rgb(255, 255, 255)"><span><span style="color: blue">> </span><span style="color: blue">str(my_data)
</span><span style="outline: none; border: none; word-break: break-all; margin: 0px">'data.frame': 147 obs. of 15 variables:
$ Time: Date, format: "2005-03-31" "2005-04-30" ...
$ X1 : num 2.81 3.06 3.11 3.3 3.62 ...
$ X3 : num 3.09 3.2 3.37 3.54 3.72 ...
$ X6 : num 3.33 3.4 3.51 3.69 3.95 ...
$ X9 : num 3.57 3.52 3.6 3.75 4.01 ...
$ X12 : num 3.72 3.65 3.69 3.81 4.11 ...
$ X24 : num 4.19 4.03 3.94 3.98 4.38 ...
$ X36 : num 4.4 4.17 4.03 4.04 4.45 ...
$ X48 : num 4.53 4.28 4.09 4.08 4.51 ...
$ X60 : num 4.64 4.36 4.16 4.12 4.56 ...
$ X72 : num 4.72 4.43 4.21 4.18 4.59 ...
$ X84 : num 4.8 4.5 4.27 4.23 4.63 ...
$ X96 : num 4.87 4.56 4.32 4.27 4.66 ...
$ X108: num 4.93 4.62 4.38 4.32 4.7 ...
$ X120: num 4.99 4.68 4.43 4.36 4.73 ...</span></span></pre>
<br>
</span></div>
<div><span style="color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;"><br>
</span></div>
<div><span style="color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;">Necesito hacer un gráfico así:</span><br>
</div>
</div>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<img size="185666" tabindex="-1" style="max-width: 100%; height: auto;" data-outlook-trace="F:1|T:1" src="cid:a7a5727c-d683-4424-b0d0-cd7a47804c19"><br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Agradezco cualquier ayuda.</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Muchas gracias.</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Un saludo, </div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div id="signature">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Helvetica,sans-serif">
<font face="Comic Sans MS" size="4" style="font-size:16pt"><font color="#262626"><strong><span style="font-family:Arial,Helvetica,sans-serif"><span style="font-size:12pt">Conney Marulanda <br>
</span></span></strong></font></font><font color="#ffcc00"><br>
<strong><font color="#ff00ff" face="Lucida Handwriting, Cursiva"></font></strong> <br>
<br>
</font></div>
</div>
</body>
</html>