Plot names in Matlab – using the ‘Tag’ property

Did you know you can tag the plots in Matlab for easier searching? Because I fuckin’ didn’t.

Why so brutal? Well, after 6 years of writing your PhD in Matlab you CAN become furious when you realise instead of keeping the links to the currently opened plots in a global variables and different lists you could’ve been naming them all that time…

Tag the plot: description for searching

aa = plot(2,2);
set(aa, 'Tag', 'foot trajectory' )
findobj('Tag','foot trajectory')
set( findobj('Tag','foot trajectory'), 'XData', [2 3], 'YData', '4 5')

… shit.

YARP, iCub on Slackware 14.2

Time for iCub! … shit. According to the icub manual:

 ENABLE_yarpcar_bayer_carrier, set to ON

ok, back to yarp/build/

make uninstall
cd .. && mkdir build2 && cd build2
cmake -DCREATE_GUIS=on -DCREATE_LIB_MATH=on -DCREATE_OPTIONAL_CARRIERS=on -DENABLE_yarpcar_bayer_carrier=on ../
make -j4
make install

Done, what now? Clone the repo, cmake:

 cmake -DCMAKE_BUILD_TYPE=Release -DENABLE_icubmod_cartesiancontrollerclient=on -DENABLE_icubmod_cartesiancontrollerserver=on -DENABLE_icubmod_gazecontrollerclient=on ../

make -j4, make install and go through the tutorial to get it working! yarpserver in the background somewhere (until the end, it’s not gonna hang despite me great efforts) and …  Oh… shit…
Read more

1 2 3 4