|
| DOTNOT - Dot Notation description |
Download |
 |
DOTNOT - "Dot Notation" toolbox to replace set/get with simpler syntax.
This Toolbox implements a replacement to the calls set/get that make your code easier write and understand. Especially if you write GUIs and advanced plots. The main intention is to show how this kind of notation can look in MATLAB rather than making a proper implementation.
What do you think? I will not give any support on this BetaBetaDemoVersion ;-)Some one interested in turning this to a real implementation? Take it!
First of all before using this: "addpath" to the .../dotnot/ folder!!!
====I will explain the differens with some examples===
Move mouse pointer 10 pixels to the right, Classic and dotnot examples:
set(0,'PointerLocation',get(0,'PointerLocation')+[0 10]);
Root.PointerLocation=Root.PointerLocation + [10 0]
Move poiner to middle of screen,, Classic and dotnot examples:
si=get(0,'ScreenSize');
set(0,'PointerLocation',si(3:4)/2);
Root.PointerLocation=Root.ScreenSize(3:4)/2;
'Root' corresponds to handle 0 in MATLAB. In this toolbox you must create a 'dotnot' object of the handle first before using 'dotnot' notation. If MathWorks implemented it they could easily make things much better than I can. For example could they make 'Root' to a "auto global" object without need of creating it in every function/workspace. You create a handle object with the object constructor:
Root=dotnot(0); % Its good to always create the Root object.
dotnot % Or do the same with this syntax.
Fig123=dotnot(1,2,3); % Create one handle to figure 1, 2 and 3.
Root.Children.Color='Green'; % Change color of all figures.
Fig123.Color='Green'; % Change color of figure 1 2 and 3
posmtx=Fig123.vcat.Position % Get nice array of all window position.
Fig123.Position(4)=160 % Change width of all three figures.
Fig123.delete; % Delete all windows.
Fig=Root.fig('Test window'); % Open new window and create dotnot object.
plot(sin(0:0.1:5))
Fig.findobj('Type','Line').LineWidth=2 %Change all lines to thick.
Root.fig('New')=gca; % Copy axis a new window.
Root.self=Fig; % Create a copy of figure to Root
Root.Children.delete
As you can se I have inserted some functions in the tree-structure objects and it setting. This function can be powerfull to copy objects, or open a new window.
|
|
|
| MOST POPULAR DOWNLOADS IN THIS CATEGORY ( Development Tools ) |
|
 |
JitterBug 1.6.2 |
| JitterBug is a web based bug tracking system. |
| Windows/Linux/Mac OS/BSD/Solaris | C/C++ | Rating: Fair | Downloads: 2,003,790,263 |
|
| update | no screenshots |
 |
| November 21st, 14:19 GMT |
|
 |
FlexTimes 1.5.2 |
| FlexTimes is a Ruby on Rails plugin that allows you to take control over datetime helpers. |
| Windows/Linux/Mac OS/BSD/Solaris | Ruby | Rating: Good | Downloads: 1,713,403,121 |
|
| update | no screenshots |
 |
| November 21st, 14:20 GMT |
|
 |
Enter data dialog demo |
| Enter data dialog demo - how to write Outputfcn function. |
| Windows/Linux/Mac OS/BSD/Solaris | Matlab | Rating: Fair | Downloads: 3,083 |
|
| new | no screenshots |
 |
| October 15th, 06:19 GMT |
|
 |
PHP SWF Reader |
| PHP SWF Reader allows operations I/O on swf files. |
| Windows/Linux/Mac OS/BSD/Solaris | Flash | Rating: Good | Downloads: 2,083 |
|
| update | no screenshots |
 |
| June 15th, 15:14 GMT |
|
 |
Gnash |
| Gnash is a GNU Flash movie player. |
| Windows/Linux | Flash | Rating: Good | Downloads: 2,024 |
|
| update | no screenshots |
 |
| June 15th, 14:59 GMT |
|
 |
Lightweight PHP Ajax Datagrid |
| Lightweight PHP Ajax Datagrid is a lightweight PHP 5 data grid with integrated ajax. |
| Windows/Linux/Mac OS/BSD/Solaris | JavaScript | Rating: Fair | Downloads: 1,365 |
|
| new | no screenshots |
 |
| August 14th, 14:08 GMT |
|
 |
Adobe Photoshop PSD file reader |
| Adobe Photoshop PSD file reader - Functions to read images and get metadata from Adobe Photoshop PSD files. |
| Windows/Linux/Mac OS/BSD/Solaris | Matlab | Rating: Fair | Downloads: 902 |
|
| new | no screenshots |
 |
| October 5th, 07:56 GMT |
|
|
|
|
|
 
| Welcome! |
Hello, Guest
Login if you have a Softpedia.com account.
Otherwise, register for one.
|
|