Download ciao Reference Manual - pdf
Transcript
732 The Ciao Prolog System barchart3/9: PREDICATE barchart3(Header, BTitle, XTitle, XVector, YTitle, YVector, YMax, YMin, Footer) As we mentioned, this predicate is quite similar to the barchart1/10 except in the XVector argument type, because the yielded bar chart lacks of legend. Example: barchart3(’This is the header text’, ’Barchart without legend’, ’My xaxistitle’, [[’bar1’],[’bar2’]], ’My yaxixtitle’, 30, 5, [20,10], ’This is the footer text’). percentbarchart3/7: PREDICATE percentbarchart3(Header, BTitle, XTitle, XVector, YTitle, YVector, Footer) The y axis maximum coordinate value is 100. The x axis limits are autoarrange. Example: percentbarchart3(’This is a special barchart to represent percentages’, ’Barchart without legend’, ’My xaxistitle’, [ [’pr1’,’Blue’,’Yellow’,’pattern1’], [’pr2’,’MediumTurquoise’,’Plum’,’pattern5’] ], ’My yaxixtitle’, [80,10], ’This is the footer text’). 186.3 Documentation on internals (genbar3) xbarelement3/1: REGTYPE xbarelement3([XValue]) :atomic(XValue). xbarelement3([XValue,ForegColor,BackgColor,StipplePattern]) :atomic(XValue), color(ForegColor), color(BackgColor), pattern(StipplePattern). Defines the attributes of the bar. XValue bar label. Although XValue values may be numbers, the will be treated as labels. Different elements with the same label will produce different bars. ForegColor It sets the Foreground color of the bar. Its value must be a valid color, otherwise the system will throw an exception. If the argument value is a variable, it gets instantiated to a color chosen by the library.
Related documents
Ciao Manual - The Ciao System
Ciao Manual - The Ciao System
from isi.edu - Information Sciences Institute
LPdoc Manual
Interfacing Prolog and VRML and its Application to Constraint
NDT TechTracker Demo Version Version 2.0 User Manual
User Manual for River Form & Channel Analysis
file
Interfacing Prolog and VRML and its Application to Constraint
GAMESS-UK USER'S GUIDE and REFERENCE MANUAL Version
How to setup and secure Snort, MySQL and Acid on