Posts

Showing posts with the label GNUPlot

Animation using GNUPlot

Image
Animation using GNUPlot I've been trying to create an animation depicting a quasar spectrum moving across the 5 SDSS pass bands with respect to redshift. It is important to visualise what emission lines are moving in and out of bands to be able to understand the color-redshift plots and the changes in it. I've tried doing this using the animate function in matplotlib, python but i wasn't able to make it work - meaning i worked on it for a couple of days and then i gave up, not having found solutions for my problems on the internet. And then i came across this site, where the gunn-peterson trough and the lyman alpha forest have been depicted - in a beautiful manner. And this got me interested in using js and d3 to do the animations and make it dynamic - using sliders etc. In the meanwhile, i thought i'd look up and see if there was a way to create animations in gnuplot and whoopdedoo, what do i find but nirvana! In the image, you see 5 static curv...

GNUPlot, Latek and my New Year Resolutions

One of my new year's resolutions was to be meticulous about everything i started and worked on this year. So, when i started learning GNUPlot and working on Latek for my lab reports, i got right down to business. There are some people in this world who can remember a lot of things, specifically coding i.e the syntax as to how to use the for/if-else loops in C, writing data in columns in Latek and setting limits on GNUPlot. I am not one of those persons so i knew the minute i started working with these software that i needed a way to easily recollect these things if and when needed! I didn't want to write them all down on a notebook because well, it's just old school. I thought that it'd be a better idea to have a template file with all of the basic commands noted down, the syntax mentioned and usage described. This way, when i needed something, i could just copy the commands from the template file and use them. I'm sure that i'm not the first person to be ...