Previous Page Next Page Contents

plot::data -- create two- and three-dimensional plots of data

Introduction

plot::data(format, datalist) plots data specified in datalist in different formats, such as points, columns, beams or pie-charts.

Call(s)

plot::data(format, datalist <, option1, option2...>)

Parameters

format - either Beam, Column, Curve, Line, Piechart2d, Piechart3d, Plain, Points, LinesPoints, CurvesPoints or Surface
datalist - either list of numerical values, or a list of lists, where each inner list is a list of numerical values
option1, option2, ... - plot option(s) of the form option = value, including the special plot option Colors

Options

Colors - list of RGB color specifications, i.e., list of three real numerical values between 0 and 1.

Returns

an object of the domain type plot::Scene.

Related Functions

plot2d, plot3d, plot::Pointlist, plot::Polygon

Details

Option: Piechart2d and Piechart3d

Option: Plain and Surface

Option: Points, LinesPoints and CurvesPoints

Option: Line, Curve, Column and Beam

Example 1

>> plot(plot::data(
       Piechart2d, [5,12,38,14,25]
   ))
>> plot(plot::data(
       Piechart3d, [5,12,38], 
       Colors = [RGB::RoyalBlue, RGB::VioletRed, RGB::GreenPale]
   ))

Example 2

>> plot(plot::data(
       Lines, [[5,10,24,-3], [6,5,2,18], [19,45,12,-10]],
       Colors = [RGB::Red, RGB::Green, RGB::Blue]
   ))

Example 3

>> plot(plot::data(
       Columns, [[5,10,24,-3,6,5,2,18]]
   ))
>> plot(plot::data(
       Columns, [[5,10,24,-3], [6,5,2,18], [19,45,12,-10]], 
       Colors = [RGB::Red, RGB::Green, RGB::Blue]
   ))

Example 4

>> plot(plot::data(
       Beams, [[5,10,24,-3], [6,5,2,18], [19,45,12,-10]], 
       Colors = [RGB::Red, RGB::Green, RGB::Blue],
       Axes = Box
   ))

Example 5

>> plot(plot::data(
       Curves, [[5,10,24,-3], [6,5,2,18], [19,45,12,-10]],
       Colors = [RGB::Red, RGB::Green, RGB::Blue]
   ))

Example 6

>> plot(plot::data(
       Surface, [[5,10,24,-3], [6,5,2,18], [19,45,12,-10]]
   ))

Example 7

>> plot(plot::data(Plain, 
       [[5,10,24,-3], [6,5,2,18], [19,45,12,-10]], 
       Colors = [RGB::Red, RGB::Red, RGB::Green]
   ))

Changes




Do you have questions or comments?


Copyright © SciFace Software GmbH & Co. KG 2000