Usage: |
{data,text} = grstreearrow(x0,y0,x1,y1,catg,spv,spvl,vartovar,col,fontsize)
|
Input: |
| x0 | vector; x-coordinates of the starting points of the arrows
|
| y0 | vector; y-coordinates of the starting points of the arrows
|
| x1 | vector; x-coordinates of the terminal points of the arrows
|
| y1 | vector; y-coordinates of the terminal points of the arrows
|
| catg | vector; types of categories
|
| spv | vector; split variable of the starting node
|
| spvl | vector; split value
|
| vartovar | vector
|
| col | (2x1) vector; col[1] is the color of the arrows and col[2] color
of their descriptions
|
| fontsize | scalar; size of the used font
|
Output: |
| data | composed graphical object of the arrows |
| text | composed graphical object of the description |