From: Kewal Krishna on
I m using biplot function on a dataset(bod1 and bodname)
and i m not getting the plot properly (as i was getting last time for the same datasets).
Its showing the error below.

??? Error using ==> line
Invalid line property: 'variables'.

Error in ==> biplot at 118
varHndl = [line(arx(1:2,:),ary(1:2,:), 'Color','b', 'LineStyle','-', plotArgs{:}, 'Marker','none'); ...
Pls respond me ASAP.
From: Wayne King on
"Kewal Krishna " <kewal_cool12(a)yahoo.co.in> wrote in message <i09uot$nju$1(a)fred.mathworks.com>...
> I m using biplot function on a dataset(bod1 and bodname)
> and i m not getting the plot properly (as i was getting last time for the same datasets).
> Its showing the error below.
>
> ??? Error using ==> line
> Invalid line property: 'variables'.
>
> Error in ==> biplot at 118
> varHndl = [line(arx(1:2,:),ary(1:2,:), 'Color','b', 'LineStyle','-', plotArgs{:}, 'Marker','none'); ...
> Pls respond me ASAP.

Are you by any chance using 'variables' as the Name instead of 'VarLabels'?
The name in the name-value pair is 'VarLabels'.

Wayne