Garystar
unread,Nov 20, 2009, 4:53:16 PM11/20/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to freemat
When using the xlabel function on Ubuntu (Karmic Koala, ver 9.10),
I've noticed on a few occasions that any text placed in the xlabel
function will have its lower-half cut off. After a bit of searching,
I've found that the function htext seems to be the one that defines
where it will be placed. Specifically, the call to htext from the
xlabel function says:
h1 = htext('string',varargin
{1},'parent',gca,'horiz','center','vert','middle','autoparent','off',varargin
{2:end});
set(gca,'xlabel',h1);
I've played around with using the properties of xlabel, such as:
xlabel('time','horiz','center','vert','top')
but that didn't do anything. I've also tried the same command, but
with 'top' replaced by 'bottom'. Again, no change.
I've also looked to see if the script for htext is readily accessible,
but I cannot seem to find it. I'm presuming it's a C++ script or
something else.
Any thoughts?