drawy — draw a readable y axis
y0=drawy(y,font_axis,y0,x0,dircar,just_scale,rev,sep)
y = the y matrix of the graph
font_axis = size of characters on the axis
y0 = value of the y axis where to draw the x axis or [] if the user wants to put the x axis at the minimum y value
x0 = value of the y axis where to draw the x axis (default: 1)
dircar= the tics direction (default: 'l'; see drawaxis for details)
just_scale = a boolean which is:
* %T if you want the y scale to be exactly the length [min(y),max(y)]
* %F if you want the y scale to begin and end with rounded numbers (default)
rev = a boolean which is:
* %T if you want the y scale to be drawn in reverse order
* %F if you want the y scale to be drawn in standard order (default)
sep = the decimal separator the user wants to use for the plotting (default ='.')
y0=value of the y axis where to draw the x axis
1) y0=drawy(y(:,y_1),font_axis,y0) 2) y0=drawy([sqrt([1:12])' log([1:12])'],3,[],0,'l') Example 1 is taken from function pltseries0. Example 2 draws an y axis associated with the values of the matrix [sqrt([1:12] log([1:12]). The font size is 3 and the axis is located at x=0, the direction of the tics is the left one. Lastly, drawy calculates the minimum y value to feed frunction drawx.