I spent lots of time finding how to convert Visio drawing to EPS.
There are many complected ways given. Some of them do not produce good vector images.
Here is the tips for easy conversion.
1. Draw Visio figure.
2. Save as Enhanced Metafile (.emf).
3. Download Free (Open source) Metafile to EPS Converter from http://wiki.lyx.org/Windows/MetafileToEPSConverter and Install.
4. Convert your .emf file.
It works perfectly for me!!
Read more...
I created it for photoblogging, but I have no time for photography. So, I decided to use it as a daily diary. Sorry.
Sunday, March 25, 2012
Visio to EPS
Wednesday, January 12, 2011
Some useful commands for linux and simulation
Sometimes, small things takes long time to resolve. Today, I was creating cbr-traffic. Although, I have done this thing several times before, it took me 30 minutes. I forgot how I did before. I just check the readme file and tried to follow but it didn't work. I didn't check the ~/indep-utils/cmu-scen-gen/cbrgen.tcl file. Thanks, ns-miling list, I found the answer. It's because of the rate_ should be in float.
http://mailman.isi.edu/pipermail/ns-users/2009-June/065873.html
Rate in this is a bit confusing. But, if we check the cbrgen.tcl, it's clear.
http://mailman.isi.edu/pipermail/ns-users/2003-July/034527.html
Anyways, the command should be like:
ns cbrgen.tcl -type cbr -nn 30 -seed 29 -mc 8 -rate 100.0 > cbr-x-x.tcl
A very good article about the setdest and traffic generation is here:
http://www.winlab.rutgers.edu/~zhibinwu/html/ns2_wireless_scene.htm
Few useful commands in Linux:
To find particular type of file in current folder and subfolders:
$find ./ -name
e.g.
find ./ -name delay.txt
To delete particular type of file from folders and subfolders:
$ find ./ -name delay.awk -exec rm {} \;