Editing
Guide to madagascar programs
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==sffiglist== {| class="wikitable" align="center" cellspacing="0" border="1" ! colspan="4" style="background:#ffdead;" | Compare Vplot files in Fig and Lock directories |- ! colspan="4" | sffiglist figdir= lockdir= list= show= |- | colspan="4" | Parameter '''figdir''' is path to Fig directory, default is ./Fig. <br>Parameter '''lockdir''' is path to Lock directory: <br> If '''figdir''' is in $RSFSRC/book/[book]/[chapter]/[section], <br> then default '''lockdir''' is $RSFFIGS/[book]/[chapter]/[section]. <br> If '''figdir''' is not in $RSFSRC/book/[book]/[chapter]/[section], <br> then default '''lockdir''' is $RSFALTFIGS/[book]/[chapter]/[section]. <br>Parameter '''list''' controls files to list, default is all. <br>Parameter '''show''' controls files to flip with sfpen, default is none. <br>'''list|show''' = none (No files, print only summary.) <br>'''list|show''' = diff (Files that are different, determined by sfvplotdiff.) <br>'''list|show''' = miss (Files missing from figdir or lockdir, and different files.) <br>'''list|show''' = all (All files.) <br>File list codes: <br>space indicates files that are the same. <br> - indicates file in lockdir that is missing from figdir. <br> + indicates extra file in figdir that is missing from lockdir. <br>number is return code from sfvplotdiff indicating different files. |- | ''string '' || '''figdir=''' || || fig directory, default = ./Fig |- | ''string '' || '''list=''' || || how much to list [none,diff,miss,all], default = all |- | ''string '' || '''lockdir=''' || || lock directory, default = lock counterpart of figdir |- | ''string '' || '''show=''' || || how much to show [none,diff,miss,all], default = none |} This tool lists Vplot files in the "Fig" and "Lock" directories and compares them using sfvplotdiff. The Fig directory defaults to ./Fig and the Lock directory defaults to the corresponding directory where "scons lock" puts things, but either default can be overridden with the user parameters '''figdir''' and '''lockdir''' so that, for example, files in two different Fig directories can be compared. The default for the Lock directory has some logic to look in $RSFFIGS when Fig is in $RSFSRC/book, or to look in $RSFALTFIGS when Fig is not in $RSFSRC/book because I like to keep two different Lock directories: one for stuff in book and another for my own stuff that is not in book. However, I tried to make the code default to reasonable things if any of these environment variables are not defined. The tool gives a summary count of files that are the same, files that are different, files in Fig that are missing from Lock, and files in Lock that are missing from Fig. The parameters '''list''' (default=all) and '''show''' (default=none) control which files are listed or "flipped" with sfpen. The file listing indicates which files are the same, which are different, and which are missing from Fig or Lock. For example, to list all the Vplot files in Fig and Lock: <pre> sffiglist list=all </pre> To list all Vplot files and flip only files that are different: <pre> sffiglist list=all show=diff </pre>
Summary:
Please note that all contributions to Madagascar are considered to be released under the GNU Free Documentation License 1.3 or later (see
My wiki:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
English
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Getting Madagascar
download
Installation
GitHub repository
SEGTeX
Introduction
Package overview
Tutorial
Hands-on tour
Reproducible documents
Hall of Fame
User Documentation
List of programs
Common programs
Popular programs
The RSF file format
Reproducibility with SCons
Developer documentation
Adding programs
Contributing programs
API demo: clipping data
API demo: explicit finite differences
Community
Conferences
User mailing list
Developer mailing list
GitHub organization
LinkedIn group
Development blog
Twitter
Slack
Tools
What links here
Related changes
Special pages
Page information