SLAETS

Shortcuts:
hogelimb  wieers  standaard  pulications  conferences 

Personal Page
Status: public - Last updated: Oktober 24, 2005


KULeuven
Copyright 1999, Katholieke Universiteit Leuven
Page design: Peter Slaets
Information provider: PMA Division KULeuven

http://people.mech.kuleuven.ac.be/~pslaets

Problem matlab 6.0 with 3D figures

  • My 3D figures in matlab don't show up ony more, only a black figure box comes up.
    matlab
    Xlib: extension "GLX" missing on display ":0.0".
  • Solution: Before running your 3D plot command you run: set(gcf,'renderer','zbuffer'), the 3D image will display correctly and very fast, too.

Selecting different page of a pdf-filed into a new pdf-file

  • Solution: pdftk input.pdf cat 1 2-5 7-end output output.pdf

Problem: Matlab always export my 3D figure to an eps-file that is build out of points instead of vectors. This results in a poor quality of the picture.

  • Solution: type in matlab print -depsc -tiff -r600 output
    This give a nice quality eps-file as result were -r600 indicates the number of dots per inch.

Problem: Alot of jpeg file need to be resized

  • Solution:
    for file in `ls *.JPG`
    do
    name=`echo $file | cut -f1 -d.`
    # convert to 640x480
    convert -geometry 640x480 $file ${name}640x480.jpg
    # convert to 800x600
    convert -geometry 800x600 $file ${name}800x600.jpg
    # convert to 1024x768
    convert -geometry 1024x768 $file ${name}1024x768.jpg
    # create thumbnail (if you need/want to)
    convert -geometry 100x100 $file ${name}_T.jpg
    done

Problem: Add ../bin/lin/ to standard PATH

  • Solution:
    PATH=$PATH:/home/peter/EDK/bin/lin/:/home/peter/Xilinx/bin/lin/
    export PATH
    to view PATH : $PATH

mythtv fails

  • Solution:
    download new ivtv-1.0.3 source package and replace in the ../ivtv-1.0.3/driver/ directory ivtv-driver1.h by ivtv-driver2.h for a 2.6.* kernel
    load following modules: ivtv tda9887 ivtvfb for a PVR-350 tv-card
    Problem is solved !!!

how to play .iso file

  • Solution:

    mplayer dvd://1 -dvd-device /location/of/dvd/name.iso