Problem with xlabel text being cut off at bottom of image

30 views
Skip to first unread message

Garystar

unread,
Nov 20, 2009, 4:53:16 PM11/20/09
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?



Timothy Cyders

unread,
Nov 20, 2009, 5:29:26 PM11/20/09
to fre...@googlegroups.com
I get the same behavior, just noticed it last night.




--

You received this message because you are subscribed to the Google Groups "freemat" group.
To post to this group, send email to fre...@googlegroups.com.
To unsubscribe from this group, send email to freemat+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/freemat?hl=.



Reply all
Reply to author
Forward
0 new messages