Rave Preferences
From Rave Documentation
Contents
Introduction
Many parameters that affect how Rave works and looks are contained in the Rave Preferences file, raveprefs.mat. This file is created when you install Rave, and you should keep it in your normal MATLAB working directory (i.e. the directory shown in the address bar at the top of the window when you start MATLAB).
Manually Changing Preferences
Some preferences can be changed within Rave, but others must be changed manually by editing the raveprefs.mat file. (Of course, you can change ALL preferences this way if you like.)
To change preferences:
- Make a back-up copy of your raveprefs.mat file just in case.
- In MATLAB, navigate to the directory that contains your raveprefs.mat file. This is important to prevent multiple copies from being created when you save it.
- At the command prompt, type "load raveprefs"
- At the command prompt type "raveprefs.PREFERENCENAME = PREFERENCEVALUE;" to assign a new value, where PREFERENCENAME is the name of the preference you wish to change, and PREFERENCEVALUE is the new value you want to assign.
- When you are finished making changes, type "save raveprefs raveprefs" (yes, two raveprefs)
The changes will take effect the next time you start Rave.
Preference Names and Values
This section lists each preference and explains what it does and the required format for its values.
Preferences that control Colors of Rave's User Interface
Name | Format | Description |
---|---|---|
colors.tabbg | a 1x3 colorspec vector | The color of the background of the tabs, and other objects that share this color. |
colors.tabfg | a 1x3 colorspec vector | The color of the border lines that draw the tabs and other objects that share this color. |
colors.wsbg | a 1x3 colorspec vector | The background color of the workspace. |
colors.wsgrid | a 1x3 colorspec vector | The color of the major gridlines in the workspace. The minor gridlines are the average of this color and colors.wsbg. |
colors.frame | a 1x3 colorspec vector | The color of the background area of the Rave window (i.e. the border area around the workspace) and the background color of all popup windows. |
colors.title | a 1x3 colorspec vector | The color of "title" text objects. For example the |
colors.text | a 1x3 colorspec vector | The color of the text that shows the names of the first row of tabs. This color is also used for many other objects whose color cannot be specified directly. |
colors.texttint | a 1x3 colorspec vector | The color of the text that shows the names of the second row of tabs. This will probably be removed in the future. |
colors.buttonbg | a 1x3 colorspec vector | The background color of buttons. Many buttons just use the default color. This is mostly used for java buttons and other times when it seems important to explicitly specify a color. |
colors.togglebuttonbg | a 1x3 colorspec vector | The background color of togglebuttons. This is only here to force toggle buttons render differently on Windows7. |
colors.constraint | a 1x3 colorspec vector | The default color for newly created constraints. |
colors.textbox | a 1x3 colorspec vector | Currently unused. |
Name | Format | Description |
---|---|---|
colors.selectionhighlight | a 1x3 colorspec vector | The color used to indicate selected data. Different types of graph use this color in different ways. |
colors.filtered | a 1x3 colorspec vector | The color used to indicate selected data. Different types of graph use this color in different ways. |