Category Archives: computer science

Two tricks on how to deal with latex graphics

It is always annoying to adjust graphics and plots in latex environment. Somehow the program is not smart enough to figure out where to place the pictures, and worse still, it always arrange pictures and texts in unexpected order, unless … Continue reading

Posted in computer science | Tagged , , | Leave a comment

more regular expressions on kile: greedy and non-greedy search

First let me point out a common misconception about wild card character “?” and “*”. As we correctly remembered, “?” means zero or one of some object, and “*” means zero or many of some object. However they are not … Continue reading

Posted in computer science | Tagged , , , | Leave a comment

matlab: how to generate and save graphs or plots automatically

I realize I have a short memory of computer related skills, so rather than always going back to my old code to refresh on syntax and tricks, I’d rather record them here. The nastiest aspect is how to generate graphs … Continue reading

Posted in computer science | Tagged | Leave a comment