Mostrando entradas con la etiqueta rant. Mostrar todas las entradas
Mostrando entradas con la etiqueta rant. Mostrar todas las entradas

19 de julio de 2008

Verano

Sábado, 19 de Julio. Amanece con 15 grados y nuboso. No pasa nada porque los meteorólogos decían que la probabilidad de lluvia era del 0%, salgo a la calle y baja la temperatura. Debería haber cogido la chaqueta. Vuelvo a casa al cabo de un rato y ya no se está tan mal, empiezo a comer y sale el sol. ¡Oh, albricias! Decido sestear por una horita, cuando vuelvo a abrir los ojos, el sol sigue ahí, pero parece que hayan abierto el grifo de la ducha. ¿Es que esta gente no conoce el concepto de verano? Alemanes, con la mierda de tiempo que tenéis (sin embargo mejor que el de los belgas, según me cuentan), deberíais ir todos a España, a tostaros en la playa como gambas. Así yo me quedo más tranquilo aquí, y vosotros os gastáis vuestro dinero en reflotar un poquito la economía de la piel de toro, que parece que le hace falta.

18 de enero de 2008

Stop Global Warming!, Become a Pirate!!!

Es lo mejor que podemos hacer para combatir esta gran amenaza, todo el mundo sabe que a más piratas, menos calentamiento. Aquí se puede ver una gráfica que lo prueba sin lugar a dudas:



No se engañen, no es el CO2 lo que está provocando el calentamiento global, hace ya tiempo que mucha gente cree (muy acertadamente) que más bien es el hecho de que ya casi no quedan piratas en el mundo.

Creo que lo más apropiado es poner un vídeo de propaganda que incite a los jóvenes de hoy día, tan desalentados por la falta de motivación y de nuevas experiencias, a que se enrolen en un buen barco pirata, y comiencen a vivir la experiencia pirata y a disfrutar de la vida. Contribuirán así a reducir la temperatura global y salvarán el planeta mientras lo pasan pirata. El gobierno debería subvencionarles.

Al fin y al cabo, ¡tres super-producciones de Hollywood no pueden estar equivocadas!

30 de abril de 2007

Plotting

Making publication-quality plots is one of the ugly parts in the life of a scientist wannabe. In my field there are two main plotting packages in use (besides IDL which i don't have): SuperMongo and PGPLOT.

Both are quite old. I guess the best of them must be SuperMongo, since its lemma is "You can't beat SM.". Joking aside I can't give an unbiased opinion, since all the times that I have tried to use SM, I have hit a wall of uneasiness. The syntax is too different from everything else that I know.

That leaves us with... erm well, PGPLOT and PLplot. Since my main computing environment has come to be Octave running on Ubuntu, I thought that it would be good to give PLplot a drive, after all it has pre-compiled packages and it's supposed to work fine from within Octave. Another advantage is that it's built to be very similar to PGPLOT, which I had used in the past. After fighting with it for some hours I can say that it is not ready for prime-time. Some of the problems I found while using it:


  • The gnome server won't work. That leaves us with the xwin server which is incapable of redrawing itself (a PITA if you are working from a full-screen terminal).

  • Issuing plend() to close the active plotting window will make Octave segfault if actually there's no such window. Hey, I made a mistake! But no need to punish me so hard.

  • The output is... well not-as-good-as-I-would-like. If you print directly to a Postscript device, some Hersey symbols (like the Sun's symbol $\odot$ in LaTeX) won't be drawn. If you plot to the xwin server and then save the output with save_fig, the result is ugly. All the letters and symbols are squashed and o's (supposed to be a round and in fact round on screen) appear as ellipses on the Postscript.



Those were the most important so, repeat after me: "You can't beat PGPLOT (unless you are SuperMongo, of course)". The final result, I'm using PGPLOT from inside Octave with the help of the matwrap tool. No need to make specific programs and compile them to plot your data. Works like a charm, it's much more solid than PGPLOT and the output has that fancy professional look that only SM and PGPLOT can attain.

Now I'm a believer, I won't doubt again about how to make my plots.
 
Creative Commons License
Este weblog se publica bajo una licencia Creative Commons.