diff options
author | bnewbold <bnewbold@robocracy.org> | 2016-02-21 14:09:55 -0800 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2016-02-21 14:09:55 -0800 |
commit | 439655aaa40568acd0b4f536e67f6b90031ee147 (patch) | |
tree | c94bc6acc9a526812a862d34673c875e56541a6c /examples/3dgraphs | |
parent | 13db261935cd85bc91563999f451bc93081b34de (diff) | |
download | PyX.jl-439655aaa40568acd0b4f536e67f6b90031ee147.tar.gz PyX.jl-439655aaa40568acd0b4f536e67f6b90031ee147.zip |
add examples (all ports from PyX 0.14.1)
Diffstat (limited to 'examples/3dgraphs')
-rw-r--r-- | examples/3dgraphs/surface.dat | 961 | ||||
-rw-r--r-- | examples/3dgraphs/surface.jl | 17 |
2 files changed, 978 insertions, 0 deletions
diff --git a/examples/3dgraphs/surface.dat b/examples/3dgraphs/surface.dat new file mode 100644 index 0000000..9986579 --- /dev/null +++ b/examples/3dgraphs/surface.dat @@ -0,0 +1,961 @@ +0 0 +2.744434246094877e-06 +0 1 +2.518061584101027e-06 +0 2 +1.759486087349929e-06 +0 3 +9.970876191013776e-07 +0 4 +3.824133190986796e-06 +0 5 +2.975115378597332e-05 +0 6 +1.699285851675448e-04 +0 7 +6.720788024534639e-04 +0 8 +1.792832060948163e-03 +0 9 +3.200655253796644e-03 +0 10 +3.816618683189747e-03 +0 11 +3.032150111960852e-03 +0 12 +1.590229109988915e-03 +0 13 +5.326214926640671e-04 +0 14 +9.904354320939544e-05 +0 15 +9.357929797648389e-06 +0 16 +9.904354320939544e-05 +0 17 +5.326214926640671e-04 +0 18 +1.590229109988915e-03 +0 19 +3.032150111960852e-03 +0 20 +3.816618683189747e-03 +0 21 +3.200655253796644e-03 +0 22 +1.792832060948163e-03 +0 23 +6.720788024534639e-04 +0 24 +1.699285851675448e-04 +0 25 +2.975115378597332e-05 +0 26 +3.824133190986796e-06 +0 27 +9.970876191013776e-07 +0 28 +1.759486087349929e-06 +0 29 +2.518061584101027e-06 +0 30 +2.744434246094877e-06 +1 0 +1.653567652207974e-06 +1 1 +2.080019415431434e-06 +1 2 +2.256392327443844e-06 +1 3 +2.353042222660531e-06 +1 4 +4.658691276947686e-06 +1 5 +2.435782462200616e-05 +1 6 +1.490972431055931e-04 +1 7 +6.377284017517769e-04 +1 8 +1.771582235157512e-03 +1 9 +3.225933640796166e-03 +1 10 +3.906803557194595e-03 +1 11 +3.197308254883010e-03 +1 12 +1.817291725241250e-03 +1 13 +7.630389801230493e-04 +1 14 +2.807603469492349e-04 +1 15 +1.608446672699473e-04 +1 16 +2.807603469492349e-04 +1 17 +7.630389801230493e-04 +1 18 +1.817291725241250e-03 +1 19 +3.197308254883010e-03 +1 20 +3.906803557194595e-03 +1 21 +3.225933640796166e-03 +1 22 +1.771582235157512e-03 +1 23 +6.377284017517769e-04 +1 24 +1.490972431055931e-04 +1 25 +2.435782462200616e-05 +1 26 +4.658691276947686e-06 +1 27 +2.353042222660531e-06 +1 28 +2.256392327443844e-06 +1 29 +2.080019415431434e-06 +1 30 +1.653567652207974e-06 +2 0 +4.903222446513287e-07 +2 1 +1.470523991761591e-06 +2 2 +2.270477656555739e-06 +2 3 +1.893286577894258e-06 +2 4 +8.875040369628528e-07 +2 5 +1.382699095923903e-05 +2 6 +1.323259508158545e-04 +2 7 +6.252257214541712e-04 +2 8 +1.780184015590029e-03 +2 9 +3.259559977840245e-03 +2 10 +3.952100806252818e-03 +2 11 +3.252471803511440e-03 +2 12 +1.899491987795393e-03 +2 13 +8.762282695816127e-04 +2 14 +4.087748017613867e-04 +2 15 +2.912636182938809e-04 +2 16 +4.087748017613867e-04 +2 17 +8.762282695816127e-04 +2 18 +1.899491987795393e-03 +2 19 +3.252471803511440e-03 +2 20 +3.952100806252818e-03 +2 21 +3.259559977840245e-03 +2 22 +1.780184015590029e-03 +2 23 +6.252257214541712e-04 +2 24 +1.323259508158545e-04 +2 25 +1.382699095923903e-05 +2 26 +8.875040369628528e-07 +2 27 +1.893286577894258e-06 +2 28 +2.270477656555739e-06 +2 29 +1.470523991761591e-06 +2 30 +4.903222446513287e-07 +3 0 +2.525077324128639e-07 +3 1 +1.411976960236152e-06 +3 2 +2.585027402357342e-06 +3 3 +2.455329005085701e-06 +3 4 +1.524299827202244e-06 +3 5 +1.730855351620528e-05 +3 6 +1.485538901683144e-04 +3 7 +6.672169413806638e-04 +3 8 +1.845851704536038e-03 +3 9 +3.314019707590146e-03 +3 10 +3.938097395997995e-03 +3 11 +3.137337133297499e-03 +3 12 +1.714725940474006e-03 +3 13 +6.894032775764756e-04 +3 14 +2.562722332523367e-04 +3 15 +1.572414788470460e-04 +3 16 +2.562722332523367e-04 +3 17 +6.894032775764756e-04 +3 18 +1.714725940474006e-03 +3 19 +3.137337133297499e-03 +3 20 +3.938097395997995e-03 +3 21 +3.314019707590146e-03 +3 22 +1.845851704536038e-03 +3 23 +6.672169413806638e-04 +3 24 +1.485538901683144e-04 +3 25 +1.730855351620528e-05 +3 26 +1.524299827202244e-06 +3 27 +2.455329005085701e-06 +3 28 +2.585027402357342e-06 +3 29 +1.411976960236152e-06 +3 30 +2.525077324128639e-07 +4 0 +1.226989384095427e-06 +4 1 +2.143934503008343e-06 +4 2 +3.419052137664231e-06 +4 3 +5.044497070280032e-06 +4 4 +1.019883325351201e-05 +4 5 +4.134677767967157e-05 +4 6 +2.024165951452637e-04 +4 7 +7.595561633249549e-04 +4 8 +1.957907998196094e-03 +4 9 +3.390836776047649e-03 +4 10 +3.907691866900613e-03 +4 11 +2.958824680334640e-03 +4 12 +1.433416637054468e-03 +4 13 +4.183160198044826e-04 +4 14 +6.825032672642671e-05 +4 15 +1.565122491813854e-05 +4 16 +6.825032672642671e-05 +4 17 +4.183160198044826e-04 +4 18 +1.433416637054468e-03 +4 19 +2.958824680334640e-03 +4 20 +3.907691866900613e-03 +4 21 +3.390836776047649e-03 +4 22 +1.957907998196094e-03 +4 23 +7.595561633249549e-04 +4 24 +2.024165951452637e-04 +4 25 +4.134677767967157e-05 +4 26 +1.019883325351201e-05 +4 27 +5.044497070280032e-06 +4 28 +3.419052137664231e-06 +4 29 +2.143934503008343e-06 +4 30 +1.226989384095427e-06 +5 0 +2.307317576927403e-06 +5 1 +2.716699175289595e-06 +5 2 +3.392503181823541e-06 +5 3 +5.499844452398325e-06 +5 4 +1.535221942328690e-05 +5 5 +6.146497948927013e-05 +5 6 +2.527173255797678e-04 +5 7 +8.466746072201876e-04 +5 8 +2.063200871238251e-03 +5 9 +3.474385548526664e-03 +5 10 +3.926889486415615e-03 +5 11 +2.892497988275950e-03 +5 12 +1.312540781600459e-03 +5 13 +3.136255923160151e-04 +5 14 +2.172446734687579e-05 +5 15 +7.019738683128956e-09 +5 16 +2.172446734687579e-05 +5 17 +3.136255923160151e-04 +5 18 +1.312540781600459e-03 +5 19 +2.892497988275950e-03 +5 20 +3.926889486415615e-03 +5 21 +3.474385548526664e-03 +5 22 +2.063200871238251e-03 +5 23 +8.466746072201876e-04 +5 24 +2.527173255797678e-04 +5 25 +6.146497948927013e-05 +5 26 +1.535221942328690e-05 +5 27 +5.499844452398325e-06 +5 28 +3.392503181823541e-06 +5 29 +2.716699175289595e-06 +5 30 +2.307317576927403e-06 +6 0 +2.373332825254899e-06 +6 1 +2.321653560233388e-06 +6 2 +1.822958685202512e-06 +6 3 +1.998034295855592e-06 +6 4 +1.070244688479249e-05 +6 5 +6.062668963464542e-05 +6 6 +2.637758074029551e-04 +6 7 +8.732926224204041e-04 +6 8 +2.104254493353289e-03 +6 9 +3.536589556516121e-03 +6 10 +4.022793689595565e-03 +6 11 +3.021560454986797e-03 +6 12 +1.452268740872702e-03 +6 13 +4.229684890191378e-04 +6 14 +7.183483566560646e-05 +6 15 +1.825194993036989e-05 +6 16 +7.183483566560646e-05 +6 17 +4.229684890191378e-04 +6 18 +1.452268740872702e-03 +6 19 +3.021560454986797e-03 +6 20 +4.022793689595565e-03 +6 21 +3.536589556516121e-03 +6 22 +2.104254493353289e-03 +6 23 +8.732926224204041e-04 +6 24 +2.637758074029551e-04 +6 25 +6.062668963464542e-05 +6 26 +1.070244688479249e-05 +6 27 +1.998034295855592e-06 +6 28 +1.822958685202512e-06 +6 29 +2.321653560233388e-06 +6 30 +2.373332825254899e-06 +7 0 +1.587195130150310e-06 +7 1 +1.713658780206171e-06 +7 2 +9.411594223291881e-07 +7 3 +6.776789721331578e-08 +7 4 +6.860825504386979e-06 +7 5 +5.146201467104523e-05 +7 6 +2.396166831456199e-04 +7 7 +8.264643309087650e-04 +7 8 +2.056438818405584e-03 +7 9 +3.549963363240440e-03 +7 10 +4.156944303260867e-03 +7 11 +3.275907813144717e-03 +7 12 +1.756915148324869e-03 +7 13 +6.844759133332523e-04 +7 14 +2.464153674380294e-04 +7 15 +1.495346760772398e-04 +7 16 +2.464153674380294e-04 +7 17 +6.844759133332523e-04 +7 18 +1.756915148324869e-03 +7 19 +3.275907813144717e-03 +7 20 +4.156944303260867e-03 +7 21 +3.549963363240440e-03 +7 22 +2.056438818405584e-03 +7 23 +8.264643309087650e-04 +7 24 +2.396166831456199e-04 +7 25 +5.146201467104523e-05 +7 26 +6.860825504386979e-06 +7 27 +6.776789721331578e-08 +7 28 +9.411594223291881e-07 +7 29 +1.713658780206171e-06 +7 30 +1.587195130150310e-06 +8 0 +5.842895768532483e-07 +8 1 +1.514582924947651e-06 +8 2 +1.918239459944766e-06 +8 3 +2.478661441644039e-06 +8 4 +8.932418369414274e-06 +8 5 +4.159804448997610e-05 +8 6 +1.917917504088143e-04 +8 7 +7.237846411730068e-04 +8 8 +1.937637574805104e-03 +8 9 +3.510202961653063e-03 +8 10 +4.266350475238421e-03 +8 11 +3.503586015126449e-03 +8 12 +1.998570138710667e-03 +8 13 +8.585196678491770e-04 +8 14 +3.479814933876024e-04 +8 15 +2.236338486521513e-04 +8 16 +3.479814933876024e-04 +8 17 +8.585196678491770e-04 +8 18 +1.998570138710667e-03 +8 19 +3.503586015126449e-03 +8 20 +4.266350475238421e-03 +8 21 +3.510202961653063e-03 +8 22 +1.937637574805104e-03 +8 23 +7.237846411730068e-04 +8 24 +1.917917504088143e-04 +8 25 +4.159804448997610e-05 +8 26 +8.932418369414274e-06 +8 27 +2.478661441644039e-06 +8 28 +1.918239459944766e-06 +8 29 +1.514582924947651e-06 +8 30 +5.842895768532483e-07 +9 0 +3.642883870758245e-07 +9 1 +2.053202999470949e-06 +9 2 +3.837166158545995e-06 +9 3 +5.348894469071784e-06 +9 4 +7.858828200887174e-06 +9 5 +2.145531964264211e-05 +9 6 +1.278998893281748e-04 +9 7 +6.057443575635683e-04 +9 8 +1.807819709990386e-03 +9 9 +3.456094204549144e-03 +9 10 +4.332932758161096e-03 +9 11 +3.623389816823501e-03 +9 12 +2.054991941718712e-03 +9 13 +8.036014751161785e-04 +9 14 +2.166177170601839e-04 +9 15 +6.915211547501020e-05 +9 16 +2.166177170601839e-04 +9 17 +8.036014751161785e-04 +9 18 +2.054991941718712e-03 +9 19 +3.623389816823501e-03 +9 20 +4.332932758161096e-03 +9 21 +3.456094204549144e-03 +9 22 +1.807819709990386e-03 +9 23 +6.057443575635683e-04 +9 24 +1.278998893281748e-04 +9 25 +2.145531964264211e-05 +9 26 +7.858828200887174e-06 +9 27 +5.348894469071784e-06 +9 28 +3.837166158545995e-06 +9 29 +2.053202999470949e-06 +9 30 +3.642883870758245e-07 +10 0 +2.512490246878957e-06 +10 1 +4.396610854841844e-06 +10 2 +6.575545000503195e-06 +10 3 +7.083439501810090e-06 +10 4 +3.470894493160968e-06 +10 5 +2.622883261358829e-06 +10 6 +8.709326319537562e-05 +10 7 +5.447133938049011e-04 +10 8 +1.752837291237968e-03 +10 9 +3.455315221404786e-03 +10 10 +4.398958252080046e-03 +10 11 +3.686186997488258e-03 +10 12 +2.037578409116048e-03 +10 13 +7.234336912109821e-04 +10 14 +1.396226098258371e-04 +10 15 +7.543732908067557e-06 +10 16 +1.396226098258371e-04 +10 17 +7.234336912109821e-04 +10 18 +2.037578409116048e-03 +10 19 +3.686186997488258e-03 +10 20 +4.398958252080046e-03 +10 21 +3.455315221404786e-03 +10 22 +1.752837291237968e-03 +10 23 +5.447133938049011e-04 +10 24 +8.709326319537562e-05 +10 25 +2.622883261358829e-06 +10 26 +3.470894493160968e-06 +10 27 +7.083439501810090e-06 +10 28 +6.575545000503195e-06 +10 29 +4.396610854841844e-06 +10 30 +2.512490246878957e-06 +11 0 +6.815671315359540e-06 +11 1 +8.264538431099037e-06 +11 2 +1.005401247062773e-05 +11 3 +1.059684653758765e-05 +11 4 +8.755895107819839e-06 +11 5 +1.555038478500510e-05 +11 6 +1.170561839376850e-04 +11 7 +5.962253896499082e-04 +11 8 +1.824100571423304e-03 +11 9 +3.550529315318575e-03 +11 10 +4.513631727635005e-03 +11 11 +3.777400017948165e-03 +11 12 +2.069898556039909e-03 +11 13 +7.321944395611375e-04 +11 14 +1.800591890588128e-04 +11 15 +7.252664246864497e-05 +11 16 +1.800591890588128e-04 +11 17 +7.321944395611375e-04 +11 18 +2.069898556039909e-03 +11 19 +3.777400017948165e-03 +11 20 +4.513631727635005e-03 +11 21 +3.550529315318575e-03 +11 22 +1.824100571423304e-03 +11 23 +5.962253896499082e-04 +11 24 +1.170561839376850e-04 +11 25 +1.555038478500510e-05 +11 26 +8.755895107819839e-06 +11 27 +1.059684653758765e-05 +11 28 +1.005401247062773e-05 +11 29 +8.264538431099037e-06 +11 30 +6.815671315359540e-06 +12 0 +9.749610156771229e-06 +12 1 +1.055180001296198e-05 +12 2 +1.180987001645569e-05 +12 3 +1.395571025914737e-05 +12 4 +2.057271886339045e-05 +12 5 +5.026620068793996e-05 +12 6 +1.931212798890028e-04 +12 7 +7.199830460496915e-04 +12 8 +1.978312822663844e-03 +12 9 +3.714503821754403e-03 +12 10 +4.680865749503483e-03 +12 11 +3.932112021941086e-03 +12 12 +2.178726369038801e-03 +12 13 +7.706810332112831e-04 +12 14 +1.501137773096962e-04 +12 15 +1.261640298775073e-05 +12 16 +1.501137773096962e-04 +12 17 +7.706810332112831e-04 +12 18 +2.178726369038801e-03 +12 19 +3.932112021941086e-03 +12 20 +4.680865749503483e-03 +12 21 +3.714503821754403e-03 +12 22 +1.978312822663844e-03 +12 23 +7.199830460496915e-04 +12 24 +1.931212798890028e-04 +12 25 +5.026620068793996e-05 +12 26 +2.057271886339045e-05 +12 27 +1.395571025914737e-05 +12 28 +1.180987001645569e-05 +12 29 +1.055180001296198e-05 +12 30 +9.749610156771229e-06 +13 0 +8.490623059819040e-06 +13 1 +8.799846154170221e-06 +13 2 +8.994677966752248e-06 +13 3 +1.010871017786102e-05 +13 4 +1.870330300271311e-05 +13 5 +6.084068161357250e-05 +13 6 +2.356274475978317e-04 +13 7 +8.098356562680192e-04 +13 8 +2.107865874310841e-03 +13 9 +3.865318650390775e-03 +13 10 +4.852291507897281e-03 +13 11 +4.126295330348602e-03 +13 12 +2.369155320117100e-03 +13 13 +9.147697022767272e-04 +13 14 +2.308142003576141e-04 +13 15 +6.328836926190641e-05 +13 16 +2.308142003576141e-04 +13 17 +9.147697022767272e-04 +13 18 +2.369155320117100e-03 +13 19 +4.126295330348602e-03 +13 20 +4.852291507897281e-03 +13 21 +3.865318650390775e-03 +13 22 +2.107865874310841e-03 +13 23 +8.098356562680192e-04 +13 24 +2.356274475978317e-04 +13 25 +6.084068161357250e-05 +13 26 +1.870330300271311e-05 +13 27 +1.010871017786102e-05 +13 28 +8.994677966752248e-06 +13 29 +8.799846154170221e-06 +13 30 +8.490623059819040e-06 +14 0 +4.687403389656196e-06 +14 1 +5.079153114463964e-06 +14 2 +4.497918246229313e-06 +14 3 +2.774071303358379e-06 +14 4 +5.904632068328592e-06 +14 5 +4.270413859622926e-05 +14 6 +2.207746257698169e-04 +14 7 +8.135918874377782e-04 +14 8 +2.139508173337537e-03 +14 9 +3.927780870116436e-03 +14 10 +4.956023042244558e-03 +14 11 +4.277097097416137e-03 +14 12 +2.546496865618815e-03 +14 13 +1.093698356447127e-03 +14 14 +4.092148715898557e-04 +14 15 +2.440103587145870e-04 +14 16 +4.092148715898557e-04 +14 17 +1.093698356447127e-03 +14 18 +2.546496865618815e-03 +14 19 +4.277097097416137e-03 +14 20 +4.956023042244558e-03 +14 21 +3.927780870116436e-03 +14 22 +2.139508173337537e-03 +14 23 +8.135918874377782e-04 +14 24 +2.207746257698169e-04 +14 25 +4.270413859622926e-05 +14 26 +5.904632068328592e-06 +14 27 +2.774071303358379e-06 +14 28 +4.497918246229313e-06 +14 29 +5.079153114463964e-06 +14 30 +4.687403389656196e-06 +15 0 +1.501257749887276e-06 +15 1 +2.435756825174617e-06 +15 2 +2.411966242960009e-06 +15 3 +7.157054724050202e-07 +15 4 +1.716069852294603e-06 +15 5 +3.013705168409485e-05 +15 6 +1.904842036316344e-04 +15 7 +7.619892865676402e-04 +15 8 +2.077488033630016e-03 +15 9 +3.878674705777598e-03 +15 10 +4.943717078853101e-03 +15 11 +4.303065526353173e-03 +15 12 +2.573644579802008e-03 +15 13 +1.075135802949144e-03 +15 14 +3.350972364282421e-04 +15 15 +1.464398667425757e-04 +15 16 +3.350972364282421e-04 +15 17 +1.075135802949144e-03 +15 18 +2.573644579802008e-03 +15 19 +4.303065526353173e-03 +15 20 +4.943717078853101e-03 +15 21 +3.878674705777598e-03 +15 22 +2.077488033630016e-03 +15 23 +7.619892865676402e-04 +15 24 +1.904842036316344e-04 +15 25 +3.013705168409485e-05 +15 26 +1.716069852294603e-06 +15 27 +7.157054724050202e-07 +15 28 +2.411966242960009e-06 +15 29 +2.435756825174617e-06 +15 30 +1.501257749887276e-06 +16 0 +2.323571591220434e-07 +16 1 +1.393475802039957e-06 +16 2 +2.091541786468290e-06 +16 3 +2.126752993258124e-06 +16 4 +4.835644738161436e-06 +16 5 +2.852474621669622e-05 +16 6 +1.659548141126014e-04 +16 7 +6.933826714206772e-04 +16 8 +1.963201825373199e-03 +16 9 +3.743280998425761e-03 +16 10 +4.819314315173870e-03 +16 11 +4.206415709376830e-03 +16 12 +2.492191540160578e-03 +16 13 +9.778007064550418e-04 +16 14 +2.051669934845689e-04 +16 15 +7.791777078841276e-08 +16 16 +2.051669934845689e-04 +16 17 +9.778007064550418e-04 +16 18 +2.492191540160578e-03 +16 19 +4.206415709376830e-03 +16 20 +4.819314315173870e-03 +16 21 +3.743280998425761e-03 +16 22 +1.963201825373199e-03 +16 23 +6.933826714206772e-04 +16 24 +1.659548141126014e-04 +16 25 +2.852474621669622e-05 +16 26 +4.835644738161436e-06 +16 27 +2.126752993258124e-06 +16 28 +2.091541786468290e-06 +16 29 +1.393475802039957e-06 +16 30 +2.323571591220434e-07 +17 0 +6.534106903077690e-07 +17 1 +1.487306123431552e-06 +17 2 +1.979172297174789e-06 +17 3 +1.976234205687681e-06 +17 4 +3.531951296812328e-06 +17 5 +2.095624840708503e-05 +17 6 +1.382476024308607e-04 +17 7 +6.241889811214583e-04 +17 8 +1.838277343110348e-03 +17 9 +3.567829091690213e-03 +17 10 +4.619649049288467e-03 +17 11 +4.029180994811406e-03 +17 12 +2.389692813180007e-03 +17 13 +9.801953064551853e-04 +17 14 +3.010360683959697e-04 +17 15 +1.339147984653232e-04 +17 16 +3.010360683959697e-04 +17 17 +9.801953064551853e-04 +17 18 +2.389692813180007e-03 +17 19 +4.029180994811406e-03 +17 20 +4.619649049288467e-03 +17 21 +3.567829091690213e-03 +17 22 +1.838277343110348e-03 +17 23 +6.241889811214583e-04 +17 24 +1.382476024308607e-04 +17 25 +2.095624840708503e-05 +17 26 +3.531951296812328e-06 +17 27 +1.976234205687681e-06 +17 28 +1.979172297174789e-06 +17 29 +1.487306123431552e-06 +17 30 +6.534106903077690e-07 +18 0 +1.876059361241538e-06 +18 1 +2.057784840208347e-06 +18 2 +1.777613271338336e-06 +18 3 +8.699234969159874e-07 +18 4 +1.968652577303025e-07 +18 5 +1.208171122223021e-05 +18 6 +1.171139379151092e-04 +18 7 +5.767959563594669e-04 +18 8 +1.740740070141123e-03 +18 9 +3.396802527464631e-03 +18 10 +4.382735284334756e-03 +18 11 +3.786662133385478e-03 +18 12 +2.219758764675431e-03 +18 13 +9.142867897053784e-04 +18 14 +3.110029558942641e-04 +18 15 +1.692446500089834e-04 +18 16 +3.110029558942641e-04 +18 17 +9.142867897053784e-04 +18 18 +2.219758764675431e-03 +18 19 +3.786662133385478e-03 +18 20 +4.382735284334756e-03 +18 21 +3.396802527464631e-03 +18 22 +1.740740070141123e-03 +18 23 +5.767959563594669e-04 +18 24 +1.171139379151092e-04 +18 25 +1.208171122223021e-05 +18 26 +1.968652577303025e-07 +18 27 +8.699234969159874e-07 +18 28 +1.777613271338336e-06 +18 29 +2.057784840208347e-06 +18 30 +1.876059361241538e-06 +19 0 +3.062840789809967e-06 +19 1 +2.527808076843036e-06 +19 2 +1.633271973488836e-06 +19 3 +9.736235185669393e-07 +19 4 +1.380503967706013e-06 +19 5 +1.469419689216322e-05 +19 6 +1.207048147882760e-04 +19 7 +5.719123589096748e-04 +19 8 +1.692871022540258e-03 +19 9 +3.256428719310688e-03 +19 10 +4.139632891211538e-03 +19 11 +3.504909208546127e-03 +19 12 +1.982724381278589e-03 +19 13 +7.402920491410022e-04 +19 14 +1.617462685140096e-04 +19 15 +2.053330572468854e-05 +19 16 +1.617462685140096e-04 +19 17 +7.402920491410022e-04 +19 18 +1.982724381278589e-03 +19 19 +3.504909208546127e-03 +19 20 +4.139632891211538e-03 +19 21 +3.256428719310688e-03 +19 22 +1.692871022540258e-03 +19 23 +5.719123589096748e-04 +19 24 +1.207048147882760e-04 +19 25 +1.469419689216322e-05 +19 26 +1.380503967706013e-06 +19 27 +9.736235185669393e-07 +19 28 +1.633271973488836e-06 +19 29 +2.527808076843036e-06 +19 30 +3.062840789809967e-06 +20 0 +3.965288889790357e-06 +20 1 +2.752129060676672e-06 +20 2 +1.161841016756794e-06 +20 3 +5.701545853936663e-07 +20 4 +3.098355792788597e-06 +20 5 +2.353023458085338e-05 +20 6 +1.431860973840122e-04 +20 7 +6.003781224686864e-04 +20 8 +1.683390907031591e-03 +20 9 +3.145644377756497e-03 +20 10 +3.912068929840578e-03 +20 11 +3.233033884460954e-03 +20 12 +1.771385768497788e-03 +20 13 +6.375462234056684e-04 +20 14 +1.434980619272460e-04 +20 15 +3.195125662258565e-05 +20 16 +1.434980619272460e-04 +20 17 +6.375462234056684e-04 +20 18 +1.771385768497788e-03 +20 19 +3.233033884460954e-03 +20 20 +3.912068929840578e-03 +20 21 +3.145644377756497e-03 +20 22 +1.683390907031591e-03 +20 23 +6.003781224686864e-04 +20 24 +1.431860973840122e-04 +20 25 +2.353023458085338e-05 +20 26 +3.098355792788597e-06 +20 27 +5.701545853936663e-07 +20 28 +1.161841016756794e-06 +20 29 +2.752129060676672e-06 +20 30 +3.965288889790357e-06 +21 0 +4.809474577021396e-06 +21 1 +3.265902127647575e-06 +21 2 +1.153290298311127e-06 +21 3 +1.734187798996243e-07 +21 4 +4.307226170255345e-06 +21 5 +3.268845994111086e-05 +21 6 +1.673952798494322e-04 +21 7 +6.297509875229867e-04 +21 8 +1.674683627968040e-03 +21 9 +3.043996694190472e-03 +21 10 +3.709176492544443e-03 +21 11 +2.997312013828311e-03 +21 12 +1.599019952667030e-03 +21 13 +5.728662937094130e-04 +21 14 +1.609992934304200e-04 +21 15 +7.737655471200314e-05 +21 16 +1.609992934304200e-04 +21 17 +5.728662937094130e-04 +21 18 +1.599019952667030e-03 +21 19 +2.997312013828311e-03 +21 20 +3.709176492544443e-03 +21 21 +3.043996694190472e-03 +21 22 +1.674683627968040e-03 +21 23 +6.297509875229867e-04 +21 24 +1.673952798494322e-04 +21 25 +3.268845994111086e-05 +21 26 +4.307226170255345e-06 +21 27 +1.734187798996243e-07 +21 28 +1.153290298311127e-06 +21 29 +3.265902127647575e-06 +21 30 +4.809474577021396e-06 +22 0 +5.555042869803733e-06 +22 1 +4.420635368354199e-06 +22 2 +3.028730507567648e-06 +22 3 +3.100707295620601e-06 +22 4 +9.243914480592160e-06 +22 5 +4.087587045427118e-05 +22 6 +1.760607022307088e-04 +22 7 +6.247370338825327e-04 +22 8 +1.629230426377810e-03 +22 9 +2.933474132420932e-03 +22 10 +3.538408480595143e-03 +22 11 +2.811983434809747e-03 +22 12 +1.451910099681378e-03 +22 13 +4.768548007400953e-04 +22 14 +9.099433778678653e-05 +22 15 +1.171746709542609e-05 +22 16 +9.099433778678653e-05 +22 17 +4.768548007400953e-04 +22 18 +1.451910099681378e-03 +22 19 +2.811983434809747e-03 +22 20 +3.538408480595143e-03 +22 21 +2.933474132420932e-03 +22 22 +1.629230426377810e-03 +22 23 +6.247370338825327e-04 +22 24 +1.760607022307088e-04 +22 25 +4.087587045427118e-05 +22 26 +9.243914480592160e-06 +22 27 +3.100707295620601e-06 +22 28 +3.028730507567648e-06 +22 29 +4.420635368354199e-06 +22 30 +5.555042869803733e-06 +23 0 +5.404189672356805e-06 +23 1 +4.892870830299098e-06 +23 2 +4.557607934560358e-06 +23 3 +5.537092541242136e-06 +23 4 +1.083855203679700e-05 +23 5 +3.547085934154473e-05 +23 6 +1.510775020427121e-04 +23 7 +5.676546615136151e-04 +23 8 +1.538572432507774e-03 +23 9 +2.819067621052516e-03 +23 10 +3.417150766148686e-03 +23 11 +2.705429500718680e-03 +23 12 +1.374749562040417e-03 +23 13 +4.333463453912217e-04 +23 14 +7.941771000134053e-05 +23 15 +1.479566369747944e-05 +23 16 +7.941771000134053e-05 +23 17 +4.333463453912217e-04 +23 18 +1.374749562040417e-03 +23 19 +2.705429500718680e-03 +23 20 +3.417150766148686e-03 +23 21 +2.819067621052516e-03 +23 22 +1.538572432507774e-03 +23 23 +5.676546615136151e-04 +23 24 +1.510775020427121e-04 +23 25 +3.547085934154473e-05 +23 26 +1.083855203679700e-05 +23 27 +5.537092541242136e-06 +23 28 +4.557607934560358e-06 +23 29 +4.892870830299098e-06 +23 30 +5.404189672356805e-06 +24 0 +3.955165536724783e-06 +24 1 +3.584741991399201e-06 +24 2 +3.508885372422360e-06 +24 3 +3.939399145842972e-06 +24 4 +4.822757117855054e-06 +24 5 +1.528945559383431e-05 +24 6 +1.028440676156929e-04 +24 7 +4.865196638755525e-04 +24 8 +1.440956718322974e-03 +24 9 +2.733108955173010e-03 +24 10 +3.366008382925306e-03 +24 11 +2.697020398631471e-03 +24 12 +1.391340841413025e-03 +24 13 +4.489266759395228e-04 +24 14 +8.931113109195366e-05 +24 15 +2.423720573557286e-05 +24 16 +8.931113109195366e-05 +24 17 +4.489266759395228e-04 +24 18 +1.391340841413025e-03 +24 19 +2.697020398631471e-03 +24 20 +3.366008382925306e-03 +24 21 +2.733108955173010e-03 +24 22 +1.440956718322974e-03 +24 23 +4.865196638755525e-04 +24 24 +1.028440676156929e-04 +24 25 +1.528945559383431e-05 +24 26 +4.822757117855054e-06 +24 27 +3.939399145842972e-06 +24 28 +3.508885372422360e-06 +24 29 +3.584741991399201e-06 +24 30 +3.955165536724783e-06 +25 0 +2.214633245267957e-06 +25 1 +1.585525169790331e-06 +25 2 +1.483434350126737e-06 +25 3 +1.972238971450125e-06 +25 4 +8.239998404110594e-07 +25 5 +3.274470653067594e-06 +25 6 +7.580088249132948e-05 +25 7 +4.457366278418717e-04 +25 8 +1.401383271659800e-03 +25 9 +2.715854393917418e-03 +25 10 +3.391604051034845e-03 +25 11 +2.775387360033505e-03 +25 12 +1.495302570719864e-03 +25 13 +5.208990796590071e-04 +25 14 +9.956297062102457e-05 +25 15 +4.074204269152465e-06 +25 16 +9.956297062102457e-05 +25 17 +5.208990796590071e-04 +25 18 +1.495302570719864e-03 +25 19 +2.775387360033505e-03 +25 20 +3.391604051034845e-03 +25 21 +2.715854393917418e-03 +25 22 +1.401383271659800e-03 +25 23 +4.457366278418717e-04 +25 24 +7.580088249132948e-05 +25 25 +3.274470653067594e-06 +25 26 +8.239998404110594e-07 +25 27 +1.972238971450125e-06 +25 28 +1.483434350126737e-06 +25 29 +1.585525169790331e-06 +25 30 +2.214633245267957e-06 +26 0 +1.270433760442372e-06 +26 1 +3.916387056204372e-07 +26 2 +2.231233391960010e-07 +26 3 +1.503250077270970e-06 +26 4 +3.125235105917701e-06 +26 5 +1.232580616064923e-05 +26 6 +9.755857943602422e-05 +26 7 +4.851055857767528e-04 +26 8 +1.457115907850736e-03 +26 9 +2.782087863624691e-03 +26 10 +3.471885190847275e-03 +26 11 +2.885556868129979e-03 +26 12 +1.636626067410123e-03 +26 13 +6.667717289764138e-04 +26 14 +2.263997570460314e-04 +26 15 +1.189280941020137e-04 +26 16 +2.263997570460314e-04 +26 17 +6.667717289764138e-04 +26 18 +1.636626067410123e-03 +26 19 +2.885556868129979e-03 +26 20 +3.471885190847275e-03 +26 21 +2.782087863624691e-03 +26 22 +1.457115907850736e-03 +26 23 +4.851055857767528e-04 +26 24 +9.755857943602422e-05 +26 25 +1.232580616064923e-05 +26 26 +3.125235105917701e-06 +26 27 +1.503250077270970e-06 +26 28 +2.231233391960010e-07 +26 29 +3.916387056204372e-07 +26 30 +1.270433760442372e-06 +27 0 +1.299354594308245e-06 +27 1 +5.522911269684502e-07 +27 2 +4.619462725569895e-07 +27 3 +2.265200690627976e-06 +27 4 +8.097778286089136e-06 +27 5 +3.240334951419666e-05 +27 6 +1.498979407853844e-04 +27 7 +5.803392722650569e-04 +27 8 +1.582282591448272e-03 +27 9 +2.903121917018245e-03 +27 10 +3.560888391768400e-03 +27 11 +2.942173666034896e-03 +27 12 +1.681218578604672e-03 +27 13 +7.183020985079531e-04 +27 14 +2.890668649459803e-04 +27 15 +1.861637286406668e-04 +27 16 +2.890668649459803e-04 +27 17 +7.183020985079531e-04 +27 18 +1.681218578604672e-03 +27 19 +2.942173666034896e-03 +27 20 +3.560888391768400e-03 +27 21 +2.903121917018245e-03 +27 22 +1.582282591448272e-03 +27 23 +5.803392722650569e-04 +27 24 +1.498979407853844e-04 +27 25 +3.240334951419666e-05 +27 26 +8.097778286089136e-06 +27 27 +2.265200690627976e-06 +27 28 +4.619462725569895e-07 +27 29 +5.522911269684502e-07 +27 30 +1.299354594308245e-06 +28 0 +2.040365887620211e-06 +28 1 +1.650917666586412e-06 +28 2 +1.774875725028040e-06 +28 3 +3.556606295780957e-06 +28 4 +1.121238171560661e-05 +28 5 +4.596797846319543e-05 +28 6 +1.924256950599667e-04 +28 7 +6.695452279961972e-04 +28 8 +1.710357891797661e-03 +28 9 +3.026685345607163e-03 +28 10 +3.623902514336288e-03 +28 11 +2.912274546185048e-03 +28 12 +1.573517463148064e-03 +28 13 +5.814421846018108e-04 +28 14 +1.585057189477723e-04 +28 15 +6.269150114528087e-05 +28 16 +1.585057189477723e-04 +28 17 +5.814421846018108e-04 +28 18 +1.573517463148064e-03 +28 19 +2.912274546185048e-03 +28 20 +3.623902514336288e-03 +28 21 +3.026685345607163e-03 +28 22 +1.710357891797661e-03 +28 23 +6.695452279961972e-04 +28 24 +1.924256950599667e-04 +28 25 +4.596797846319543e-05 +28 26 +1.121238171560661e-05 +28 27 +3.556606295780957e-06 +28 28 +1.774875725028040e-06 +28 29 +1.650917666586412e-06 +28 30 +2.040365887620211e-06 +29 0 +2.889936412548378e-06 +29 1 +2.523107656067143e-06 +29 2 +2.137256869716177e-06 +29 3 +2.408742209727751e-06 +29 4 +7.837863399645522e-06 +29 5 +4.293412664154757e-05 +29 6 +2.012737823483604e-04 +29 7 +7.094420933272181e-04 +29 8 +1.788723143733490e-03 +29 9 +3.116507360268357e-03 +29 10 +3.668485365947303e-03 +29 11 +2.864609577951840e-03 +29 12 +1.444029026933867e-03 +29 13 +4.403845160530417e-04 +29 14 +6.521201643211877e-05 +29 15 +2.389980714464935e-07 +29 16 +6.521201643211877e-05 +29 17 +4.403845160530417e-04 +29 18 +1.444029026933867e-03 +29 19 +2.864609577951840e-03 +29 20 +3.668485365947303e-03 +29 21 +3.116507360268357e-03 +29 22 +1.788723143733490e-03 +29 23 +7.094420933272181e-04 +29 24 +2.012737823483604e-04 +29 25 +4.293412664154757e-05 +29 26 +7.837863399645522e-06 +29 27 +2.408742209727751e-06 +29 28 +2.137256869716177e-06 +29 29 +2.523107656067143e-06 +29 30 +2.889936412548378e-06 +30 0 +3.189540008095353e-06 +30 1 +2.665276215102024e-06 +30 2 +1.538390887473923e-06 +30 3 +2.126393704049059e-07 +30 4 +2.872410902877456e-06 +30 5 +3.332700529158972e-05 +30 6 +1.874186897482456e-04 +30 7 +7.023315789295831e-04 +30 8 +1.808842702438711e-03 +30 9 +3.169450767598823e-03 +30 10 +3.727981450772813e-03 +30 11 +2.895425157778220e-03 +30 12 +1.436817970496205e-03 +30 13 +4.198892675035715e-04 +30 14 +6.131415667355502e-05 +30 15 +9.736971670136333e-06 +30 16 +6.131415667355502e-05 +30 17 +4.198892675035715e-04 +30 18 +1.436817970496205e-03 +30 19 +2.895425157778220e-03 +30 20 +3.727981450772813e-03 +30 21 +3.169450767598823e-03 +30 22 +1.808842702438711e-03 +30 23 +7.023315789295831e-04 +30 24 +1.874186897482456e-04 +30 25 +3.332700529158972e-05 +30 26 +2.872410902877456e-06 +30 27 +2.126393704049059e-07 +30 28 +1.538390887473923e-06 +30 29 +2.665276215102024e-06 +30 30 +3.189540008095353e-06 diff --git a/examples/3dgraphs/surface.jl b/examples/3dgraphs/surface.jl new file mode 100644 index 0000000..e19a00c --- /dev/null +++ b/examples/3dgraphs/surface.jl @@ -0,0 +1,17 @@ + +# Original Python: +# from pyx import * +# +# g = graph.graphxyz(size=4, x2=None, y2=None) +# g.plot(graph.data.file("surface.dat", x=1, y=2, z=3), [graph.style.surface()]) +# g.writeEPSfile("surface") +# g.writePDFfile("surface") +# g.writeSVGfile("surface") + +using PyX + +g = graph.graphxyz(size=4, x2=nothing, y2=nothing) +plot(g, graph_data.file("examples/3dgraphs/surface.dat", x=1, y=2, z=3), + [graph_style.surface()]) +writeEPSfile(g, "surface") +writePDFfile(g, "surface") |