The graphical data tip in Matlab allows you to visualize the values of a point in a plot.
It comes with a certain decimal precision level already set as default (4 decimal digits).
You can change the default number of decimal digits.
See at the following Webpage,
http://www.cs.washington.edu/homes/dhalperi/useful.html
(thanks to Daniel Halperin for the suggestion).
2017 update
The previous instructions are valid for Matlab R2014a and older versions.
For Matlab R2014b and newer version, follow the suggestions from the following threads:
https://stackoverflow.com/questions/25477401/matlab-permanently-set-text-update-function-for-data-cursor-in-figures/39330765#39330765
Thanks to Michael Hirsch for pointing this out.
Friday, October 28, 2011
Monday, October 17, 2011
white spaces in strings built up by concatenating several substrings
In order to produce a string that contains white spaces, concatenating several different substring, use the [...] command and not Matlab's built-in function strcat(...).
The latter discards any white space contained in any substring.
The latter discards any white space contained in any substring.
Thursday, October 6, 2011
common properties for axes of different subplots/figures - linkaxes(...) Matlab built-in function
A useful bult-in function in Matlab is
linkaxes(...)
It allows to link together the axes of different subplots or even figures such that one can set the axes properties once for all the subplots/figures.
See the manpage at
http://www.mathworks.ch/help/techdoc/ref/linkaxes.html
linkaxes(...)
It allows to link together the axes of different subplots or even figures such that one can set the axes properties once for all the subplots/figures.
See the manpage at
http://www.mathworks.ch/help/techdoc/ref/linkaxes.html
Thursday, September 22, 2011
Parallel Bash scripts
How to get the most out of your multi-core computer, using parallel Bash scripts,
http://stackoverflow.com/questions/5547787/running-shell-script-in-parallel
http://stackoverflow.com/questions/5547787/running-shell-script-in-parallel
Friday, June 10, 2011
OpenSSH server on MS Windows 7 via Cygwin
I've been struggling in getting sshd work under Cygwin installed on MS Windows 7 (that I had unfortunately to get installed on my work laptop because that's the system used at my Institution).
Some important reference materials:
http://pigtail.net/LRP/printsrv/cygwin-sshd.html
http://www.kgx.net.nz/2010/03/cygwin-sshd-and-windows-7/
http://www.acooke.org/cute/CygwinSSHS0.html
Some important reference materials:
http://pigtail.net/LRP/printsrv/cygwin-sshd.html
http://www.kgx.net.nz/2010/03/cygwin-sshd-and-windows-7/
http://www.acooke.org/cute/CygwinSSHS0.html
Thursday, March 24, 2011
Save/Restart capabilities in ESyS-Particle
Here some links to threads on ESyS-Particle's repository about its capability of save/restart:
- https://answers.launchpad.net/esys-particle/+question/94168 (start from here if you want to learn the basics)
- https://answers.launchpad.net/esys-particle/+question/132497 (read this long thread if you are interested in understanding some of the limits of the save/restart tools in some cases)
- https://answers.launchpad.net/esys-particle/+question/145723 (read this thread for more details about the save/restart tools)
Thursday, December 16, 2010
Set maximum memory limit in Fiji
Fiji is a "bundle version" of ImageJ, i.e., ImageJ + a lot of plugins already developed and installed.
I use it on a daily basis for my image processing/analysis tasks.
When there is need to import a sequence of images as a stack and such stack is quite big, you may need to setup a larger maximum memory limit than what it comes with the standard setup.
In order to do that, open the menu Edit -> Options -> Memory & Threads and fix the maximum memory limit.
This operation essentially writes into Fiji startup configuration file, called jvm.cfg and located within Fiji's root folder. If you open it, you can see the Java Virtual Machine option -Xmx????m, where ????m indicates the maximum memory limit expressed in MBytes.
I use it on a daily basis for my image processing/analysis tasks.
When there is need to import a sequence of images as a stack and such stack is quite big, you may need to setup a larger maximum memory limit than what it comes with the standard setup.
In order to do that, open the menu Edit -> Options -> Memory & Threads and fix the maximum memory limit.
This operation essentially writes into Fiji startup configuration file, called jvm.cfg and located within Fiji's root folder. If you open it, you can see the Java Virtual Machine option -Xmx????m, where ????m indicates the maximum memory limit expressed in MBytes.
Labels:
Fiji,
Image analysis and processing,
ImageJ
Subscribe to:
Posts (Atom)
