Usługi Informatyczne "SZANSA" - Gabriela Ciszyńska-Matuszek
ul. Świerkowa 25, 43-305 Bielsko-Biała
NIP 937-212-97-52
tel. +48 33 488 89 39
www.zwcad.pl
1 Description
Application may be used by students, teachers, universities, technicians, and other users, who need
to draw graphs. Main functions of application are:
1. Draw graph basing on data
2. Calculate values for predefined formulas
3. Calculate areas “under” graph line
4. Calculate linear regression parameters
5. Marks points on graph.
2 Requirements
Applications is third application to ZWCAD 2012, 2011 Standard or Professional
Hardware requirements are not bigger then requirements of ZWCAD
3 Installation
On systems Windows Vista and Windows 7 installation must be on user account with
administrations rights.
1. Install application from CD or download from website
2. After installation application should be loaded automatically to ZWCAD and functions
should be available after run ZWCAD. (if it’s not, please see manual way of load
application: 5.1 )
3. Application icons are not loaded automatically, You may simple load it by write command
“Wykresy” on ZWCAD Commands bar.
4 Using application
Available commands:
4.1 Wykres
4.1.1 Data
Run this command will open following window:
Screen 1 Data tab window
In this window, You can input data for graph which will be drawn. You can input data in few ways:
1. Write texts for each coordinates X,Y,Z in table. You can simple click button [*][6], inserted will be new
row in table, where You can write data X, Y, Z and optionally You can also add description different for
each point.
2. Load data from csv file After click button [Load data from file][3] User will be asked to select csv file
with data. Above this button, User can define if columns in csv are separated by ; space or tab. [7] User
can load files where decimal places are separated by , or . [8].
3. Load data from previous drawn graph. This way of get data is fast and simple, if You have one graph
drawn, and want to modify data in small range. In this case, User may click button [Load from graph][2].
They User will be asked to select polyline and it’s coordinates will be write to table, now User may
modify them, or for example combine this graph with other data.
Data may also be stored in external files, It’s enough to click button [save data in file][9]. In this case data
will be saved in file, columns will be separated by sign selected in [7], decimal places will be separated by
[8].
4. Random data. For tests application, or settings, You may get random data simple by click button [Random
1
3
1
2
1
4
1
5
1
6
1
7
1 8
1
9
1 10
11
Points]
5. Calculate data. On this tab, User may get data basing on calculation.
Screen 2 Function tab window
On this tab, User may get accurate values of functions. To do it, use should select function [12] which will
be calculated, then define coefficients of function [13]. User also have to define range [14] and accuracy
[15] of calculation. Optional calculated data may be displaced on X and Y direction, it’s possible to define
displacement on fields [16]. User should also decide where data will be written, on field [17] You may
choose tab where calculations will be placed. As last step User have to click [Calculate][18].
6. Remove data. User may also remove data from table. If needed is remove only one point, User may do it
by click [Remove row][10]. If it’s necessary to Remove everything from table it’s enough to click [Clear
data][11].
12
13
14
15
16
17
18
4.1.2 Drawing
Screen 3Example data tab window
Now if User click button: [Draw full graph][3]. Application will ask to click point, in this point drawn will be
graph: polyline by points, axes, grid of X, Y Z . Example graph looks as You can see:
Screen 4 Example graph
3
Graph line
Axis grid
texts
Axis lines Grid lines
2 4
1
On tabs (1,2,3 [1]) You can input 3 series of data for graph.
Screen 5 More data series on one graph
If it’s not enough to draw 3 graph lines on one drawing, You can also draw full graph, and then add next graph
line, except the rest of elements (axis, grid lines) and so one. In this case User should click button [Draw function] [2].
Next element of graph are labels of data series. Those labels are the same as headers of data tabs [1]. You can easy edit
it by simple click on tab and write name of series.
X scale of graph may be drawn in linear or logarithm scale as on examples below. You can turn on or off
logarithm scale by click field [4].
Screen 6 Function logarithm in linear scale
Labels data
series
Screen 7 Function logarithm in logarithm scale
4.1.3 Settings
Details of grid lines, colors, layers and linetypes, You can define in tab [Settings][1]. Example of settings
window is:
Screen 8 Example of settings tab
In this window, User can set following settings:
- Axis X, Y Z. For axis, User can define if they should be drawn or not [2], Layer, color [4]. Under line of axis
there will be axis grid text. User can set how detailed will they be marked [5] (3 or 3.14 or 3.1415)
Distance between lines User can define in field Unit [6].
2
1 4
5
1
3
1
7
1 8
1 9
1 10
1
11
1 12
1 13
1 14
44
1
15
1
6
1
1
16
17 18
- Grid lines. Except axis, graph may be marked by grid of lines. Grid lines may be drawn only in base units or
also in additional units. You can define properties like: linetype [8] [13], layer [9] [14], color [10] [15].
Properties may be separated for X, Y, Z grid, and for main and additional units.
Graph base on the same data with other settings, You can see on screens:
Screen 9 Graph with axis and grid lines
Screen 10 Graph without grid lines
Settings of graph may be saved as profile. With application, there are installed few example profile. Except that
User may save many profiles of settings. To do this it’s needed to define settings and just click button [Save][17].To
activate profile just select profile from list [16] and click button [Load][18].
You can also define settings of graph line. In data tab, You can set colour [19] and layer [20] for graphs.
For each series of data, You may define separated settings for graph line.
Screen 11Graph line settings
4.2 Oznacz
This command let user to mark points on graph.
Screen 12 Example of marked graph
On this graph, You may see some marked points they are zero points and extremes of graph. To make such descriptions
19
20
Please run command Oznacz. User will see such window. If user write Prefix or Sufix
Screen 13 Mark function window
Screen 14 Example marking
Mark contains text, number, coordinates X, Y, Z. When User click button [Mark] [6] he will be asked to select point. On
this point inserted will be Mtext with coordinates of click point. Then he may click another point, where will be
inserted next description. If points should be marked by label it’s value may be written in field [1] or [2]. Label may
also contain number user may write number in field Start number [4] . This number which may be automatically
increase after each mark if User turn on field Autonumeration [3] . Value in field [1] will be put before number, and
value from field [2] will be after number. Field Accuracy [5] determines how detailed should be written coordinates.
4.3 Aproksymacja
This command calculates parameters of linear function defined by points. After run this command User will be
asked to select points. Functions will calculate parameters of linear regression and statistic parameters: the correlation
coefficient and standard deviation. Also drawn will be line based on this parameters.
1
2
3
4
5
6
4.4 Powierzchnia
After run this command, User will be asked to select polyline – graph line[1]. When User will do this, between line of
graph and x axis [2] will be drawn Hatch [3] [4] [5] [6], and calculated will be area. Area will be also written below
graph[7][8] line for each section limited by x axis o graph. Areas above x axis and under graph line will be sum, and
areas under x axis will be subtracted. Result of this operation will be also insert under graph [9].
4.5 Wykresy
With this command You may turn on/off application icons.
1
3
4
5 6
2
7 8 9
5 Notes:
5.1 Manual load application
After install application, it should load automatically after run ZWCAD. If it’s not, User should follow steps:
1. Run menu Tools->Load application
2. In new dialog:
Press button [Add file] [1] in new dialog select file Wykresy.dll
Select file in list [2] and load application by button [Load] [3].
3. You can also add application to startup suite. Application will be loaded automatically each time You run
ZWCAD. To do it just click [Add to startap suite] [4].
5.2 No icons bar
After load application, available will be command “Wykresy”: after You run it, icons will be loaded
5.3 “Unable to recognize command. Please try again.”
This message mean application was not loaded correctly. To fix this problem manual load application: 5.1
1 2
3
5.4 Contact.
If You have any other questions, please feel free to contact us mail: [email protected]