Changeset 307


Ignore:
Timestamp:
Dec 4, 2009 5:03:52 PM (11 years ago)
Author:
toby
Message:

# on 2000/10/04 20:39:22, toby did:
document expgui(bkgcolor1) on phase pane
no-shell mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/expgui_cfg.html

    • Property rcs:date changed from 2000/10/03 23:28:06 to 2000/10/04 20:39:22
    • Property rcs:lines changed from +2 -2 to +48 -42
    • Property rcs:rev changed from 1.12 to 1.13
    r299 r307  
    7878The important variables defined in the <TT>gsasmenu.tcl</TT> file are:
    7979<DL><DL>
    80 <DT>expgui(menunames)<DD>
     80<DT><TT>expgui(menunames)</TT><DD>
    8181This list defines the menu bar headings other than File, Options & Help
    82 <DT>expgui_menulist<DD>
     82<DT><TT>expgui_menulist</TT><DD>
    8383Each array element, e.g. expgui_menulist(file) and expgui_menulist(powder),
    8484defines commands to be added to a menu heading. Each command will appear
    8585as an array element in expgui_cmdlist.
    86 <DT>expgui_cmdlist<DD>
     86<DT><TT>expgui_cmdlist</TT><DD>
    8787Each array element, e.g. expgui_cmdlist(Save) or expgui_cmdlist(expnam)
    8888contains two items. The first defines a tcl procedure to be executed
     
    9797. For example, when powpref is selected, the tcl command
    9898"runGSASwEXP $cmd" is invoked, where variable cmd is set to "powpref".
    99 <DT>expgui(buttonlist)<DD>
     99<DT><TT>expgui(buttonlist)</TT><DD>
    100100This list defines the commands that will appear on the button bar where
    101101each item that appears on the button bar must have a matching pair of entries
     
    113113<DL><DL>
    114114
    115 <DT>expgui(scriptdir)<DD>
     115<DT><TT>expgui(scriptdir)</TT><DD>
    116116This determines where files such as <TT>readexp.tcl</TT>, etc.
    117117are located. This defaults to the location where <TT>expgui</TT> is located so
    118118it rarely needs to be changed.
    119119
    120 <DT>expgui(gsasdir)<DD>
     120<DT><TT>expgui(gsasdir)</TT><DD>
    121121This contains the location of the GSAS directory, if it is not the
    122122parent director where expgui is found.
     
    124124crashes when you try to add new atoms, this is probably wrong.
    125125
    126 <DT>expgui(gsasexe)<DD>
     126<DT><TT>expgui(gsasexe)</TT><DD>
    127127This determines where the GSAS executable files are located.
    128128You might want to change this is you keep multiple versions of GSAS
     
    131131in a subdirectory of the GSAS files.
    132132
    133 <DT>expgui(coordfont)<DD>
     133<DT><TT>expgui(coordfont)</TT><DD>
    134134Sets the font used for the coordinates scroll box
    135135
    136 <DT>expgui(histfont)<DD>
     136<DT><TT>expgui(histfont)</TT><DD>
    137137Sets the font used for the histogram scroll box
    138138
    139 <DT>liveplot(hst)<DD>
     139<DT><TT>expgui(bkgcolor1)</TT><DD>
     140Sets the background color for the bottom box on the phase pane.
     141The default value, #fdf, is a light violet that
     142will probably drive some folks nuts, but is a good contrast to the yellow
     143of the refinement flags.
     144
     145<DT><TT>liveplot(hst)</TT><DD>
    140146Sets the default histogram used for liveplot
    141147
    142 <DT>liveplot(legend)<DD>
     148<DT><TT>liveplot(legend)</TT><DD>
    143149Sets the default value for display of the legend in liveplot
    144150
    145 <DT>expgui(initstring)<DD>
     151<DT><TT>expgui(initstring)</TT><DD>
    146152Defines commands to be executed by EXPGUI after all other commands
    147153have been run. This is used to define initialization commands in
     
    155161
    156162<DL><DL>
    157 <DT>expgui(archive)<DD>
     163<DT><TT>expgui(archive)</TT><DD>
    158164This defines the default state for the archive flag,
    159165where 0 is off and 1 is on. When archive is on, a copy of the .EXP file
    160166is saved before a new version of the file is saved and before EXPEDT is run.
    161167
    162 <DT>expgui(asorttype)<DD>
     168<DT><TT>expgui(asorttype)</TT><DD>
    163169This determines the atom sort mode.
    164170
    165 <DT>expgui(hsorttype)<DD>
     171<DT><TT>expgui(hsorttype)</TT><DD>
    166172This determines the histogram sort mode.
    167173
    168 <DT>expgui(filesort)<DD>
     174<DT><TT>expgui(filesort)</TT><DD>
    169175This determines the default file sorting mode for the expnam command.
    170176
    171 <DT>env(GSASBACKSPACE)<DD>
     177<DT><TT>env(GSASBACKSPACE)</TT><DD>
    172178Used only for UNIX: This determines if the default definition
    173179for the backspace key is overridden; some UNIX systems need this so that
     
    284290The following options are available for customization in these files:
    285291<DL><DL>
    286 <DT>txtvw(menulength)<DD>
     292<DT><TT>txtvw(menulength)</TT><DD>
    287293This limits the number of entries that can
    288294exist in a menu. For example, the default is 25, so when more than 25 cycles
    289295are found in a .LST file, only the last 25 are listed in the
    290296"Go To"/cycle submenu.
    291 <DT>txtvw(maxchars)<DD>
     297<DT><TT>txtvw(maxchars)</TT><DD>
    292298This limits the maximum number of
    293299characters that will be read from an existing .LST file to speed
     
    301307
    302308<DL><DL>
    303 <DT>txtvw(followcycle)<DD>
     309<DT><TT>txtvw(followcycle)</TT><DD>
    304310This sets the initial value for the
    305311"Auto Advance" button in the "Go To" menu. When this is true,
     
    307313added, the "view" is advanced.
    308314
    309 <DT>txtvw(font)<DD>
     315<DT><TT>txtvw(font)</TT><DD>
    310316This sets the font used for LSTVIEW. See documentation on the font command in
    311317Tk for details on font naming.
     
    326332The following options are available for customization in these files:
    327333<DL><DL>
    328 <DT>peakinfo(flag<i>n</i>)<DD>
     334<DT><TT>peakinfo(flag<i>n</i>)</TT><DD>
    329335These variables define if peak positions will be shown
    330336for reflections in phase "<i>n</i>". Reflections will be shown if
    331337the value is non-zero.
    332338
    333 <DT>peakinfo(color<i>n</i>)<DD>
     339<DT><TT>peakinfo(color<i>n</i>)</TT><DD>
    334340These variables define the default colors for
    335341reflections in phase "<i>n</i>"
    336342
    337 <DT>peakinfo(dashes<i>n</i>)<DD>
     343<DT><TT>peakinfo(dashes<i>n</i>)</TT><DD>
    338344These variables define if peaks will be dashed for
    339345reflections in phase "<i>n</i>" (UNIX only). Lines will be dashed if
    340346the value is non-zero.
    341347
    342 <DT>peakinfo(min<i>n</i>) and peakinfo(max<i>n</i>)<DD>
     348<DT><TT>peakinfo(min<i>n</i>) and peakinfo(max<i>n</i>)</TT><DD>
    343349These variables dictate the placement vertical position for reflection
    344350markers, when manually placed (see expgui(autotick), below). To draw
     
    351357
    352358<DL><DL>
    353 <DT>graph(printout)<DD>
     359<DT><TT>graph(printout)</TT><DD>
    354360This is set to 1 if PostScript files
    355361will be printed and 0 if they will be written to disk (for Windows all
    356362files should be written to disk).
    357363
    358 <DT>graph(outname)<DD>
     364<DT><TT>graph(outname)</TT><DD>
    359365This is the default for the file name used
    360366when PostScript files will be written to disk.
    361367
    362 <DT>graph(outcmd)<DD>
     368<DT><TT>graph(outcmd)</TT><DD>
    363369This is the default for the command used
    364370to print PostScript files (Unix only).
    365371
    366 <DT>graph(legend)<DD>
     372<DT><TT>graph(legend)</TT><DD>
    367373Sets the default value for display of the legend in liveplot and widplt.
    368374
    369 <DT>peakinfo(obssym)<DD>
     375<DT><TT>peakinfo(obssym)</TT><DD>
    370376Symbol for observed data points. Valid choices are square, circle, diamond,
    371377plus, cross, splus and scross.
    372378
    373 <DT>peakinfo(obssize)<DD>
     379<DT><TT>peakinfo(obssize)</TT><DD>
    374380Size for the symbol for observed data points. A value of 1 corresponds to about 1/8 inch
    375381(about 3 mm).
    376382
    377 <DT>expgui(pixelregion)<DD>
     383<DT><TT>expgui(pixelregion)</TT><DD>
    378384When hkl values are loaded (using tcldump) and reflections are labeled, reflections
    379385can be labeled using a Shift-Left-Mouse click. All labeled reflections within expgui(pixelregion)
    380386pixels of the mouse position are assumed to be overlapped and are labeled.
    381387
    382 <DT>expgui(fadetime)<DD>
     388<DT><TT>expgui(fadetime)</TT><DD>
    383389The time in seconds before reflection labels are removed. A value of zero means that reflections
    384390must be deleted manually (Shift-Right-Mouse).
    385391
    386 <DT>expgui(lblfontsize)<DD>
     392<DT><TT>expgui(lblfontsize)</TT><DD>
    387393A size for reflections labels in pixels.
    388394
    389 <DT>expgui(hklbox)<DD>
     395<DT><TT>expgui(hklbox)</TT><DD>
    390396If this variable is non-zero, reflection indices are shown in a box.
    391397
    392 <DT>expgui(autotick)<DD>
     398<DT><TT>expgui(autotick)</TT><DD>
    393399If this variable is non-zero, reflection markers positions are
    394400set automatically.
     
    472478
    473479<DL><DL>
    474 <DT>graph(printout)<DD>
     480<DT><TT>graph(printout)</TT><DD>
    475481This is set to 1 if PostScript files
    476482will be printed and 0 if they will be written to disk (for Windows all
    477483files should be written to disk).
    478484
    479 <DT>graph(outname)<DD>
     485<DT><TT>graph(outname)</TT><DD>
    480486This is the default for the file name used
    481487when PostScript files will be written to disk.
    482488
    483 <DT>graph(outcmd)<DD>
     489<DT><TT>graph(outcmd)</TT><DD>
    484490This is the default for the command used
    485491to print PostScript files (Unix only).
    486492
    487 <DT>graph(legend)<DD>
     493<DT><TT>graph(legend)</TT><DD>
    488494Sets the default value for display of the legend in liveplot and widplt.
    489495
    490 <DT>graph(plotunits)<DD>
     496<DT><TT>graph(plotunits)</TT><DD>
    491497Sets the units used for displaying the data. Values are "d", "q", "",
    492498for d-space, Q and 2-theta, respectively.
    493 <DT>graph(equivwave)<DD>
     499<DT><TT>graph(equivwave)</TT><DD>
    494500Sets the wavelength used for displaying data, if blank, no conversion is
    495501done and data are shown in their original wavelength.
Note: See TracChangeset for help on using the changeset viewer.