This block is an enhanced version of the standard XYGraph simulink block.
The standard XYGraph allows to plot the motion of ONE point in the XY plane. This block allows to plot the motion of SEVERAL points in the XYZ space. In other words each point draws a line as it moves, so you end up having several lines in the plot instead of just one. Of course setting the camera position parameter to [0 0 1] reduces the plot to a classic 2D one.
This block is very useful when you have to compare the motion of a point versus a reference trajectory.
The file M2DScope.mdl contains the block.
The file sfunxyz.m is the actual s-function that implements the scope.
Hi, I put the block on top of my aircraft model. After trimming the aircraft, trimming needs to be terminated. I use the following command bu it doesn't work with the 3d scope.
??? Error using ==> feval
--> Error evaluating 'StopFcn' callback of XYZ multiscope block (mask) 'Model/Subsystem/XYZ Graph'. Index exceeds
Error in ==> end_trim at 14
12 May 2006
This is just too neat!
14 Dec 2005
H jr N
15 Apr 2005
There is a slight bug if there are more than 6 inputs.
To fix, change the end of line 170 that reads
or to be more general to