Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Graphs attributes not working

0 views
Skip to first unread message

Neeraj

unread,
Jul 20, 2008, 11:35:03 AM7/20/08
to
I have a GUI which has graphs in it.
Unfortunately i am neither being able to change the label of
any of the axis ( i have three axis for each graph) nor am i
being able to change the axis dimensions.
Please help with it...

Matt Fig

unread,
Jul 20, 2008, 2:52:01 PM7/20/08
to
Please post an example code (short) that reproduces what you
have, then maybe we can work with it.

Neeraj

unread,
Jul 20, 2008, 3:38:02 PM7/20/08
to
> Please post an example code (short) that reproduces what you
> have, then maybe we can work with it.

axes(handles.Axs_x1_data);
axis([handles.user_min_x handles.user_max_x ...
handles.user_min_y handles.user_max_y])
set(handles.Axs_x1_data,'XLim',[handles.user_min_x...
handles.user_max_x]);
set(handles.Axs_x1_data,'YLim',[handles.user_min_y...
handles.user_max_y]);
xlabel('x dimension');
ylabel('y dimension');
zlabel('disp of input port');
if handles.x1_show == 1
surf(x_final, y_final, x1_final);
else
plot3(0,0,0);
end

this is the part of the code. i have used both axis and
'XLim' and 'YLim'. But the axis doesn't come as expected. it
rather changes its size according to figure.


0 new messages