Appendix D Plotting time

Table below show plotting time in seconds for all samples in file examples/samples.cpp. The test was done in my laptop (i5-2430M) with 64-bit Debian.

Few words about the speed. Firstly, direct bitmap drawing (Quality=4,5,6) is faster than buffered one (Quality=0,1,2), but sometimes it give incorrect result (see cloud) and don’t allow one to export in vector or 3d formats (like EPS, SVG, PDF ...). Secondly, lower quality is faster than high one generally, i.e. Quality=1 is faster than Quality=2, and Quality=0 is faster than Quality=1. However, if plot contain a lot of faces (like cloud, surf3, pipe, dew) then Quality=0 may become slow, especially for small images. Finally, smaller images are drawn faster than larger ones.

Results for image size 800*600 (default one).

Nameq=0q=1q=2q=4q=5q=6q=8
3wave0.03220.06270.07210.04250.110.1360.0271
alpha0.08920.1080.1130.04730.1240.1450.0297
apde48.247.447.647.447.848.447.9
area0.03760.07280.07520.0330.1410.1650.0186
aspect0.04420.05720.05510.0310.09990.1030.0146
axial0.6390.9170.9260.1950.5250.5520.119
axis0.06830.1070.1080.04660.1960.2020.0169
barh0.02850.05470.06030.02920.1010.1150.0114
bars0.04140.07030.08430.10.1850.1840.0295
belt0.02860.05320.05770.03840.07350.10.0131
bifurcation0.5890.6350.6090.5310.5720.5790.512
box0.06820.08050.08280.03140.1240.1210.0169
boxplot0.01020.03170.03470.020.04990.05540.0167
boxs0.2390.3630.40.07980.2160.2340.0721
candle0.02860.05490.0530.02630.04830.05640.0109
chart0.4160.6130.7070.261.071.590.191
cloud0.03124.154.110.03060.7150.9240.0168
colorbar0.1080.1720.1770.07870.2580.2660.0452
combined0.360.3360.3320.1980.3160.330.196
cones0.1450.1390.140.09370.2480.2760.0363
cont0.09870.1410.1410.05850.2070.1940.0455
cont30.03230.0580.05870.03040.07260.08370.0162
cont_xyz0.04170.05850.06120.04170.08330.08450.0294
contd0.1910.2450.2360.1040.1890.2010.0902
contf0.1620.1790.1820.07890.1660.1770.067
contf30.1230.120.1340.0650.1230.1550.0538
contf_xyz0.07510.09220.1110.07560.08790.09560.0462
contv0.09470.1230.1360.07570.1630.180.0469
correl0.03390.06290.05990.02880.1150.1380.0165
curvcoor0.1120.1640.1710.08640.2960.2980.0739
cut0.6950.4650.4840.3030.3850.3710.316
dat_diff0.04570.0790.08250.03460.1360.1580.0186
dat_extra0.1750.1810.1730.08770.1630.1730.0463
data12.391.761.751.331.381.371.4
data21.421.261.281.171.241.291.14
dens0.08670.1220.1310.06150.1450.1680.032
dens30.07220.07690.09370.04370.09470.1510.0797
dens_xyz0.05990.08750.09610.04630.0890.08970.0315
detect0.1330.1510.1760.08610.1160.1380.0721
dew1.481.070.9710.4730.5370.4160.195
diffract0.08780.1270.1390.06070.2190.2370.0274
dilate0.07780.1280.1380.05920.2420.2320.0298
dots0.06850.10.1010.06940.1340.1290.0261
earth0.01470.0330.02180.01680.01680.01910.00177
error0.03120.07070.07090.02880.1350.1370.016
error20.05810.09640.09580.05950.1730.1870.0444
export0.1160.1580.1670.07990.1320.1330.0685
fall0.0350.0510.05770.0180.05850.07090.0142
fexport1.521.761.780.2780.6040.6061.35
fit0.03710.06530.06660.02770.0810.08370.014
flame2d5.375.545.53.043.213.091.13
flow0.3680.4510.4440.360.50.480.352
fog0.04060.06450.06880.03790.07930.08940.0156
fonts0.04770.09260.1120.03470.05180.05190.0413
grad0.06070.1040.1290.07150.1030.120.0633
hist0.1250.1480.1590.09190.1160.1290.0372
ifs2d0.5940.6230.620.3150.3490.330.109
ifs3d0.7870.7770.7840.2940.3530.3660.117
indirect0.02860.05170.05430.0310.06120.1040.0144
inplot0.06870.09790.09930.06220.1810.1950.0444
iris0.008460.0250.01980.003490.01720.01820.0018
label0.02850.0450.0580.02670.05250.06180.014
lamerey0.03050.03720.04550.0190.06040.06330.0024
legend0.07640.2020.2070.04550.1380.1480.0162
light0.09030.1290.1220.05730.1320.1440.021
loglog0.1030.1680.160.08060.2280.2350.0802
map0.03030.06530.07210.03370.08210.08660.015
mark0.01910.03240.03680.02610.05330.0450.0072
mask0.04420.09640.1010.03430.2050.2110.0115
mesh0.0340.07740.06820.01920.07650.07420.0145
mirror0.0920.1280.1420.06070.1740.1760.0312
molecule0.08270.08420.08590.04430.09970.1460.0115
ode0.1490.2020.2020.1470.2820.3160.133
ohlc0.00590.02780.02710.01520.05170.0450.0152
param10.1610.2520.260.09410.3010.3410.0466
param20.5350.580.5390.260.4520.4750.189
param31.752.372.320.6770.8990.9070.758
paramv1.211.391.360.7880.9740.9680.69
parser0.03460.05820.06870.03170.1080.110.0275
pde0.3290.3580.3730.2720.3110.3640.264
pendelta0.06530.05250.06480.05170.05310.05220.0653
pipe0.5980.7370.7380.3820.4930.5050.34
plot0.03970.06420.1140.04440.1230.1180.0194
pmap0.09130.1150.1250.05720.09990.1130.0469
primitives0.05810.1080.1280.06490.1810.210.00928
projection0.130.2640.2860.07040.3510.3490.0683
projection50.1170.2070.2150.07170.30.3120.0437
pulse0.02730.03950.04130.01830.05760.06350.0023
qo2d0.2180.2460.2740.1980.2430.2550.177
quality00.08590.09020.0870.08080.08080.08230.0796
quality10.1890.1660.1710.1750.170.1730.166
quality20.1830.1830.1750.1720.1710.1830.184
quality40.0820.07130.07280.06360.08430.06510.0592
quality50.3660.3590.3630.3660.3540.3560.357
quality60.3730.3670.3650.3660.3680.3830.366
quality80.01930.0190.02890.02980.01650.02440.0229
radar0.01930.03690.05450.01580.05250.05320.0115
refill0.1530.1680.1660.07460.2390.2580.0467
region0.03960.07230.08590.03420.1330.1590.017
scanfile0.03150.0360.04970.01690.04860.0530.014
schemes0.07030.1140.1170.0620.2040.210.019
section0.02940.04830.0540.02210.08040.08210.00568
several_light0.04410.05410.07010.02990.06020.08150.0117
solve0.04610.1090.1050.04620.180.1910.0184
stem0.04180.05990.05910.03080.1260.1390.015
step0.03990.06140.05540.03150.09580.1130.0145
stereo0.05690.06520.08110.0310.08070.0930.0163
stfa0.04250.1170.1110.04160.1150.1210.0157
style0.08920.1970.2040.05960.3490.3690.0158
surf0.1090.1330.1570.06570.160.1580.0315
surf31.792.62.570.9492.362.440.625
surf3a0.4310.2810.2970.1760.2350.2520.178
surf3c0.4230.2850.3010.1750.2020.2650.177
surf3ca0.4280.3030.310.1760.2030.2650.19
surfa0.04090.05770.07140.02650.0620.07250.0154
surfc0.04220.04530.0580.02820.06280.07490.0161
surfca0.04160.05980.0580.02540.05410.06710.015
table0.1030.2130.2140.04840.1120.1170.0156
tape0.04090.07840.08360.03470.1240.1380.0164
tens0.03290.04850.04410.02790.08050.07570.00561
ternary0.1040.2180.2140.06340.3930.4250.0352
text0.08270.1560.150.02610.1140.1270.015
text20.07190.120.1310.1150.1290.1370.016
textmark0.04030.07490.07880.02230.06070.06530.014
ticks0.08680.1930.1950.06110.2590.2490.0275
tile0.03490.04440.05970.03080.05460.05470.0111
tiles0.03930.05850.05340.02050.06480.05970.0174
torus0.1140.1970.1930.07130.3940.4570.0306
traj0.02510.04130.0430.01780.06280.09680.0129
triangulation0.03280.06590.07920.03190.09660.08880.0155
triplot0.03020.07050.1020.01980.09730.1270.0143
tube0.0770.1430.1920.05930.1910.210.0197
type00.1770.1720.1980.06730.1410.20.0576
type10.1740.1730.20.06480.1530.170.0571
type20.1880.1980.1970.07730.1860.1930.0647
vect0.1290.3360.1940.06080.1740.1770.043
vect30.03170.07810.08690.03660.1550.1590.0174
venn0.01530.05030.07870.01150.06650.0750.00249

Results for image size 1920*1440 (print quality)

Nameq=0q=1q=2q=4q=5q=6q=8
3wave0.07630.1340.1570.07640.1980.2070.0598
alpha0.1110.1760.2540.1040.2440.2720.0591
apde4847.647.547.147.247.747
area0.07830.1690.2450.1070.2770.3350.0408
aspect0.06220.1050.1290.06380.1850.2340.0478
axial0.6811.381.610.2970.8781.120.141
axis0.08630.1530.170.07730.2740.2970.0479
barh0.06310.1180.1340.06610.2180.2590.049
bars0.06540.1260.1530.08030.280.3180.0479
belt0.06240.110.1330.06140.2280.3540.0454
bifurcation0.6040.6960.7580.6020.6560.6920.572
box0.0810.1520.2110.07540.2040.2380.0516
boxplot0.04580.0720.1080.04930.1060.120.0329
boxs0.2760.6230.8230.1310.3870.520.0935
candle0.05660.10.1130.0590.1260.1540.0435
chart0.461.081.780.3772.573.840.19
cloud0.06185.786.760.0611.492.720.0441
colorbar0.1440.2590.2970.1420.3830.4550.075
combined0.4290.4570.5560.2860.4740.5640.245
cones0.170.2260.2720.1570.5210.6670.0624
cont0.09890.1930.2350.09520.2850.3040.0637
cont30.06450.110.1220.06290.130.1520.0479
cont_xyz0.06760.1050.1290.06280.1340.1480.0523
contd0.2370.3070.3680.1510.2940.3460.106
contf0.1930.2620.3050.1360.2740.3220.0921
contf30.1690.2060.30.1170.2320.3530.0796
contf_xyz0.1180.180.2060.1030.1770.2310.0661
contv0.1310.2260.2590.1140.2820.3340.0753
correl0.05780.1080.1150.06160.1930.2160.0463
curvcoor0.1250.2030.2190.120.4540.5040.0933
cut0.7680.6610.730.430.530.6690.431
dat_diff0.09220.1510.1930.0920.2350.2740.0439
dat_extra0.2020.2360.2630.1320.2540.2920.0747
data12.622.072.141.431.691.831.56
data21.511.411.491.221.431.441.24
dens0.1150.2360.320.1340.2710.3270.0746
dens30.1010.1540.2140.09810.1730.2440.0429
dens_xyz0.1020.1790.2420.1190.1640.220.0495
detect0.170.2830.3570.1290.2170.2930.0927
dew1.631.11.190.5570.7970.8810.288
diffract0.09610.2530.3460.1140.3820.430.0508
dilate0.0980.2310.2590.1010.3470.4040.0539
dots0.09860.1390.1670.1060.240.2210.223
earth0.04550.05320.06590.04480.04040.05920.0294
error0.07640.1280.1340.07580.2030.2270.076
error20.07390.1660.1880.09340.3740.4160.0608
export0.1770.2730.3820.1310.2440.3120.0968
fall0.04810.1270.1140.0510.1150.1250.0442
fexport2.332.692.811.121.431.522.19
fit0.0720.1120.1210.06570.1540.1660.0442
flame2d6.166.346.313.713.913.751.26
flow0.430.5290.5570.4030.5820.5990.372
fog0.06510.1460.2090.070.1720.2420.0466
fonts0.08420.130.1350.06690.09690.09650.0696
grad0.1110.2230.3180.1330.2160.2840.0783
hist0.1850.2270.250.1360.2340.2530.0632
ifs2d0.70.7770.7620.3960.4570.4430.133
ifs3d0.8270.8350.8930.3690.450.4840.127
indirect0.05790.09040.1160.05990.1280.1520.0316
inplot0.09310.1510.190.1070.320.3290.0601
iris0.04460.05440.07510.04680.04570.05780.0371
label0.04840.08790.1050.06010.1120.1640.078
lamerey0.07230.07280.09780.06110.1040.1540.0522
legend0.1230.2820.30.07960.2320.3110.041
light0.120.1860.4480.1040.220.4170.0528
loglog0.1360.2520.2520.1250.4050.4810.0956
map0.07680.1570.1950.07340.1680.2320.0471
mark0.06590.09090.08810.07180.2390.1510.0372
mask0.08780.2070.3260.09440.2790.3470.0511
mesh0.07190.1310.1630.06830.1470.1810.0418
mirror0.1350.2170.2590.1050.2960.3080.0548
molecule0.09790.1460.2370.09530.2410.3610.044
ode0.1930.280.290.1910.4190.4360.163
ohlc0.04820.0710.09360.05740.1090.1210.0447
param10.1860.3480.4240.150.5450.8450.0861
param20.570.7320.8060.3130.6980.8270.23
param31.912.562.930.7671.171.580.844
paramv1.291.551.50.8161.121.110.718
parser0.06310.1120.140.06430.2090.2320.0467
pde0.370.5110.5540.3180.4290.4550.284
pendelta0.1080.1150.1020.1080.1150.1040.105
pipe0.6610.9221.040.4140.6690.8280.36
plot0.09610.1160.1420.09320.220.2370.0457
pmap0.1370.1840.2160.09940.1650.210.0737
primitives0.09780.1910.2890.09710.3040.3530.0386
projection0.1660.4030.4840.1240.5780.6260.078
projection50.1490.3230.360.1170.4960.5460.0722
pulse0.04880.07510.09110.05030.1120.130.0347
qo2d0.2520.3890.4550.2440.3540.4140.208
quality00.1120.1120.1190.1190.110.1230.114
quality10.2390.2540.240.240.2520.260.232
quality20.2760.2730.2720.2770.2750.2740.278
quality40.1070.1040.1030.1040.1040.1120.107
quality50.4550.4480.460.4660.450.450.456
quality60.4890.4780.480.4890.480.4790.492
quality80.05750.04670.04530.04390.0470.04620.0486
radar0.0580.06750.08720.070.09690.1230.0284
refill0.1860.2320.2780.1290.3560.3890.07
region0.07060.1660.210.08030.2740.30.0442
scanfile0.05630.07690.08840.04690.08910.1060.0341
schemes0.1210.2270.2830.1890.2840.3380.0454
section0.05930.09480.09740.06220.1590.1750.0417
several_light0.0760.1090.2440.06970.1230.2460.0442
solve0.09250.1880.1950.1080.3440.3340.0485
stem0.06330.1290.1450.08270.2030.2120.0407
step0.06320.1020.1140.1120.1830.1940.0447
stereo0.09010.1260.2060.08070.1510.2370.0441
stfa0.09250.2450.2910.08010.2140.2990.0438
style0.1140.2710.3210.1020.440.4680.0451
surf0.1490.2410.3030.120.240.3190.0498
surf32.013.413.441.413.343.330.667
surf3a0.5140.3970.5370.240.3970.740.205
surf3c0.4820.40.5330.2350.4230.7280.208
surf3ca0.4940.4010.5360.260.4020.7090.243
surfa0.06430.1050.1810.05720.1220.1920.0456
surfc0.06440.1110.1840.06090.1280.1990.0399
surfca0.06450.1060.1810.06960.1280.2010.044
table0.1280.2630.290.08130.1760.1970.0481
tape0.07790.1430.1670.07880.2240.2420.0463
tens0.06050.09560.09350.06990.1460.1620.046
ternary0.130.3340.3570.1160.5890.650.061
text0.110.2140.2250.06780.1720.190.0438
text20.08090.1750.1890.07970.220.2350.0425
textmark0.07420.1290.140.05740.1260.1430.0438
ticks0.1260.2520.2740.1110.3290.3590.0488
tile0.0620.0910.1350.06050.110.1560.0613
tiles0.060.1190.1580.06040.1290.1630.0466
torus0.1480.2770.3910.1210.8171.190.0653
traj0.04760.08990.1080.05590.1530.1620.0336
triangulation0.06220.1590.2180.06670.1730.2440.0451
triplot0.04940.1810.3710.06080.1810.320.0308
tube0.1080.2860.3730.1040.3110.3790.0493
type00.2380.3260.50.1440.3140.4790.108
type10.2370.340.5310.1370.3170.50.102
type20.2430.3350.5090.1480.3170.4840.115
vect0.110.2480.3280.1270.3540.3250.0732
vect30.06920.1530.1730.08840.5260.3660.0356
venn0.04940.1940.2890.06640.1580.2360.044