Jump to content
Sign in to follow this  
Loesje84

Edit plots compose

Recommended Posts

Hello everyone,

 

I'm a new user of Compose (have lots of experience in Matlab and Hypermath though) and I am plotting some data. I am experiencing two problems:

1) There seems to be no legend handle. So, I cannot edit the font size of the legend in my script. Any idea how to do this (in a script, not by clicking on the legend and editing it manually)?

2) When I execute the following lines, the Ylabel completely disappears from the figure. Even when I save it, there is no (or only some of the pixels) Ylabel; it is shifted too much to the left. How can I move the ylabel (again, in a script, although I'm not even able to move it by mouse or so). Changing the position of the axes or the figure does not help and there is no 'Position' option in the label handle.

 

figure(1)
plot([1:9],[20:20:180])
set(gca,'FontSize',12)
ylabel('Reaction force [N]')
legend('test')
saveas(1,'testimg')

 

Thank you for replying.

Share this post


Link to post
Share on other sites
Guest

Hi,

 

1) For now, there is no command to set the font size of the legend through the script. This facility will be introduced in the future release of Compose.

 

2) The second problem is solved in the coming release of Compose (2017.3 build) will be be delivered by the end of this October.

 

Thank you

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...