Thursday, 21 August 2014
Tuesday, 19 August 2014
Monday, 18 August 2014
Closing all scilab figures with one command
I observed that to close all figure windows in scilab, we can't use
>> close all
like in MATLAB.
After looking around, got the equivalent command in scilab. It is,
>> xdel(winsid())
peace.
>> close all
like in MATLAB.
After looking around, got the equivalent command in scilab. It is,
>> xdel(winsid())
peace.
Thursday, 14 August 2014
Apostrophe in latex
If you want use apostrophe in your document and it isnt showing in the built pdf file, include fontenc package.
\usepackage{fontenc}
\usepackage{fontenc}
Sunday, 10 August 2014
Running a python script from the python shell
To run a script from the python shell or the python prompt, use the command
>> execfile('filename.py')
To clear the screen, do the following,
>>import os
>>os.system("clear")
These are for systems running Ubuntu. Not sure if this will work for other operating systems.
>> execfile('filename.py')
To clear the screen, do the following,
>>import os
>>os.system("clear")
These are for systems running Ubuntu. Not sure if this will work for other operating systems.
Subscribe to:
Posts (Atom)