@Peter:
I am going through the examples and tutorials from your RVC (2nd edition) textbook for the first time and ran into an error that I don't understand:
I built an 'RP' arm (based in ETS2) by defining:
>> 
E = Rz('q1')*Tx(a1)*Tx('q2')
where a1 = 1.
When I solve a forward-kinematics configuration (q1 = 90 deg and q2 = 1 [meter?]), everything solves as expected:
>> E25.fkine([pi/2 1])
ans = 
         0        -1         0
         1         0         2
         0         0         1
However, when I try to plot the arm in that very configuration, I get the following error:
>> E25.plot([pi/2 1])
Index exceeds the number of array elements. Index must not exceed 0.
Error in ETS2/plot (line 485)
                            reach = reach + e.qlim(2);
I've been trying to set a min-max range for the prismatic joint but have been unsuccessful:
>> E25.qlim(2) = [0, 0.5];
Intermediate dot '.' indexing produced a comma-separated list with 3 values, but it
must produce a single value when followed by subsequent indexing operations.
Any advice on how to overcome this error? 
Warm regards / thanks in advance!
-Michael C.