Message Boards Message Boards

1
|
10187 Views
|
3 Replies
|
7 Total Likes
View groups...
Share
Share this post:

How to adjust font size of the control labels in Manipulate?

Hi,
Manipulate does a lot of work by automatically labeling the various controls based on the list of parameters I supply. I noticed I can give my own labels if needed. However, in many cases I notice that the default font used for these labels is smaller than what I would like it to be. Is there a way to increase the font size of these labels - either auto generated or explicitly given?

Regards,
Rangarajan
3 Replies
Thanks to both Arnoud and Xiang Li for the suggestions.

Regards,
Rangarajan
Posted 12 years ago
Hi, 
Manipulate[
expr,
{var, ...},
LabelStyle -> { 20}
]
POSTED BY: Xiang Li
Any Manipulate variable can be specified with a three argument list:
{x, xInitial, xLabel}

So, for example, you can do this:
Manipulate[x, {{x, 0, Style["Label", 24]}, 0, 1}]


Or another example, where the label rotation is tied to the Manipulate variable:
Manipulate[x, {{x, 0, Dynamic[Rotate[Style["Label", 24], x]]}, 0, 2*Pi}]



http://reference.wolfram.com/mathematica/ref/Manipulate.html
 
POSTED BY: Arnoud Buzing
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract