| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent f526837 commit 072e770
9 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -245,6 +245,10 @@ print "********************** file pm3d.dem *********************" | |||
| 245 | 245 | load "pm3d.dem" | |
| 246 | 246 | reset | |
| 247 | 247 | ||
| 248 | + print "********************** file pm3d_clip.dem *********************" | ||
| 249 | + load "pm3d_clip.dem" | ||
| 250 | + reset | ||
| 251 | + | ||
| 248 | 252 | print "********************** file pm3dcolors.dem *********************" | |
| 249 | 253 | load "pm3dcolors.dem" | |
| 250 | 254 | reset | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -12,7 +12,7 @@ GNUPLOT_LIB = .. | |||
| 12 | 12 | # Several of the demos need manual intervention: | |
| 13 | 13 | # fontfile vector epslatex | |
| 14 | 14 | # | |
| 15 | - html: airfoil.html approximate.html armillary.html array.html arrowstyle.html barchart_art.html binary.html bins.html bivariat.html boxplot.html boxclusters.html candlesticks.html cerf.html circles.html cities.html complex_trig.html columnhead.html contours.html custom_contours.html controls.html custom_key.html dashtypes.html datastrings.html dgrid3d.html discrete.html electron.html ellipse.html enhanced_utf8.html epslatex.html errorbars.html fenceplot.html fillbetween.html fillcrvs.html fillstyle.html finance.html fit.html hidden.html hidden2.html hidden_compare.html histograms.html histograms2.html gantt.html image.html image2.html imageNaN.html index.html iterate.html jitter.html label_stacked_histograms.html layout.html lines_arrows.html linkedaxes.html map_projection.html margins.html monotonic_spline.html multiaxis.html multimsh.html multiplt.html nokey.html nonlinear1.html nonlinear2.html nonlinear3.html parallel.html param.html piecewise.html pm3dcolors.html pm3d.html pm3dgamma.html pm3d_lighting.html pointsize.html polar.html poldat.html polar_quadrants.html polygons.html prob2.html prob.html projection.html rainbow.html random.html rectangle.html rgba_lines.html rgbalpha.html rgb_variable.html rotate_labels.html rugplot.html running_avg.html sampling.html scatter.html simple.html singulr.html smooth.html solar_path.html spiderplot.html spline.html smooth_splines.html steps.html stringvar.html surface1.html surface2.html azimuth.html transparent.html transparent_solids.html textbox.html tics.html timedat.html ttics.html using.html varcolor.html vector.html violinplot.html walls.html world.html world2.html animate2.html heatmaps.html stats.html unicode.html zerror.html boxes3d.html voxel.html vplot.html isosurface.html | ||
| 15 | + html: airfoil.html approximate.html armillary.html array.html arrowstyle.html barchart_art.html binary.html bins.html bivariat.html boxplot.html boxclusters.html candlesticks.html cerf.html circles.html cities.html complex_trig.html columnhead.html contours.html custom_contours.html controls.html custom_key.html dashtypes.html datastrings.html dgrid3d.html discrete.html electron.html ellipse.html enhanced_utf8.html epslatex.html errorbars.html fenceplot.html fillbetween.html fillcrvs.html fillstyle.html finance.html fit.html hidden.html hidden2.html hidden_compare.html histograms.html histograms2.html gantt.html image.html image2.html imageNaN.html index.html iterate.html jitter.html label_stacked_histograms.html layout.html lines_arrows.html linkedaxes.html map_projection.html margins.html monotonic_spline.html multiaxis.html multimsh.html multiplt.html nokey.html nonlinear1.html nonlinear2.html nonlinear3.html parallel.html param.html piecewise.html pm3dcolors.html pm3d.html pm3dgamma.html pm3d_clip.html pm3d_lighting.html pointsize.html polar.html poldat.html polar_quadrants.html polygons.html prob2.html prob.html projection.html rainbow.html random.html rectangle.html rgba_lines.html rgbalpha.html rgb_variable.html rotate_labels.html rugplot.html running_avg.html sampling.html scatter.html simple.html singulr.html smooth.html solar_path.html spiderplot.html spline.html smooth_splines.html steps.html stringvar.html surface1.html surface2.html azimuth.html transparent.html transparent_solids.html textbox.html tics.html timedat.html ttics.html using.html varcolor.html vector.html violinplot.html walls.html world.html world2.html animate2.html heatmaps.html stats.html unicode.html zerror.html boxes3d.html voxel.html vplot.html isosurface.html | ||
| 16 | 16 | ||
| 17 | 17 | index.html: index.save | |
| 18 | 18 | cp index.save index.html | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -9,7 +9,7 @@ GNUPLOT_LIB = .. | |||
| 9 | 9 | # | |
| 10 | 10 | # Auto-generation of html demo set. | |
| 11 | 11 | # | |
| 12 | - html_3d: binary.html bivariat.html contours.html custom_contours.html datastrings.html discrete.html errorbars.html fenceplot.html hidden.html hidden2.html hidden_compare.html margins.html multimsh.html pm3dcolors.html pm3d.html pm3d_lighting.html pointsize.html polygons.html random.html rgb_variable.html sampling.html scatter.html singulr.html surface1.html surface2.html azimuth.html projection.html transparent_solids.html vector.html walls.html world.html world2.html zerror.html boxes3d.html vplot.html voxel.html isosurface.html | ||
| 12 | + html_3d: binary.html bivariat.html contours.html custom_contours.html datastrings.html discrete.html errorbars.html fenceplot.html hidden.html hidden2.html hidden_compare.html margins.html multimsh.html pm3dcolors.html pm3d.html pm3d_clip.html pm3d_lighting.html pointsize.html polygons.html random.html rgb_variable.html sampling.html scatter.html singulr.html surface1.html surface2.html azimuth.html projection.html transparent_solids.html vector.html walls.html world.html world2.html zerror.html boxes3d.html vplot.html voxel.html isosurface.html | ||
| 13 | 13 | ||
| 14 | 14 | html_2d: airfoil.html approximate.html array.html barchart_art.html bins.html boxplot.html boxclusters.html candlesticks.html canvas_utf8.html circles.html cities.html columnhead.html controls.html custom_key.html dashtypes.html electron.html enhanced_utf8.html fillbetween.html fillcrvs.html fillstyle.html finance.html histograms.html histograms2.html hypertext.html gantt.html imageNaN.html index.html iterate.html jitter.html label_stacked_histograms.html layout.html lines_arrows.html linkedaxes.html map_projection.html monotonic_spline.html multiaxis.html multiplt.html nonlinear1.html nonlinear2.html nonlinear3.html nokey.html param.html piecewise.html polar.html poldat.html polar_quadrants.html prob2.html prob.html rainbow.html ellipse.html rectangle.html rgba_lines.html rgbalpha.html rotate_labels.html rugplot.html running_avg.html simple.html smooth.html solar_path.html smooth_splines.html spiderplot.html spline.html steps.html transparent.html timedat.html ttics.html using.html varcolor.html world.html heatmaps.html stats.html violinplot.html | |
| 15 | 15 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -86,6 +86,7 @@ | |||
| 86 | 86 | <li><a href="hidden.html">hidden surfaces</a></li> | |
| 87 | 87 | <li><a href="pm3d.html">pm3d coloring</a></li> | |
| 88 | 88 | <li><a href="hidden2.html">pm3d hidden surfaces</a></li> | |
| 89 | + <li><a href="pm3d_clip.html">pm3d clipping</a></li> | ||
| 89 | 90 | <li><a href="world2.html">3D mapping</a></li> | |
| 90 | 91 | <li><a href="projection.html">2D projection of 3D surface</a></li> | |
| 91 | 92 | <li><a href="zerror.html">shaded error region</a></li> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -85,6 +85,7 @@ Here are samples of PNG output from some of the demos. | |||
| 85 | 85 | <li><a href="hidden.html">hidden surfaces</a></li> | |
| 86 | 86 | <li><a href="pm3d.html">pm3d coloring</a></li> | |
| 87 | 87 | <li><a href="hidden2.html">pm3d hidden surfaces</a></li> | |
| 88 | + <li><a href="pm3d_clip.html">pm3d clipping</a></li> | ||
| 88 | 89 | <li><a href="world2.html">3D mapping</a></li> | |
| 89 | 90 | <li><a href="projection.html">2D projection of 3D surface</a></li> | |
| 90 | 91 | <li><a href="zerror.html">shaded error region</a></li> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -329,29 +329,6 @@ set isosamples 40,40; set samples 40,40 | |||
| 329 | 329 | splot sin(y)/(y) w lines palette | |
| 330 | 330 | pause -1 "Hit return to continue" | |
| 331 | 331 | ||
| 332 | - reset | ||
| 333 | - | ||
| 334 | - set title "Demo for clipping of 2 rectangles comes now. The xrange is [0:2]..." | ||
| 335 | - set pm3d; set palette | ||
| 336 | - set view map | ||
| 337 | - | ||
| 338 | - set xrange [0:2] | ||
| 339 | - splot 'clip14in.dat' | ||
| 340 | - pause -1 "Hit return to continue" | ||
| 341 | - | ||
| 342 | - set xrange [0:1.5] | ||
| 343 | - set yrange [*:*] | ||
| 344 | - set title "...and now xrange is [0:1.5] and 'set pm3d clip1in'" | ||
| 345 | - set pm3d clip1in | ||
| 346 | - replot | ||
| 347 | - pause -1 "Hit return to continue" | ||
| 348 | - | ||
| 349 | - set title "...now xrange is [0:1.5] and 'set pm3d clip4in'" | ||
| 350 | - set pm3d clip4in | ||
| 351 | - replot | ||
| 352 | - pause -1 "Hit return to continue" | ||
| 353 | - | ||
| 354 | - | ||
| 355 | 332 | reset | |
| 356 | 333 | ||
| 357 | 334 | sinc(u,v) = sin(sqrt(u**2+v**2)) /sqrt(u**2+v**2) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,36 @@ | |||
| 1 | + set border 4095 | ||
| 2 | + set bmargin 6 | ||
| 3 | + set style fill transparent solid 0.50 border | ||
| 4 | + unset key | ||
| 5 | + unset colorbox | ||
| 6 | + set view 60, 60, 1.1, 0.6 | ||
| 7 | + set samples 40, 40 | ||
| 8 | + set isosamples 40, 40 | ||
| 9 | + set xyplane 0 | ||
| 10 | + set pm3d depthorder border linewidth 0.100 | ||
| 11 | + set pm3d clip z | ||
| 12 | + set pm3d lighting primary 0.5 specular 0.2 spec2 0 | ||
| 13 | + | ||
| 14 | + set xrange [-1 : 5] | ||
| 15 | + set yrange [-3 : 3] | ||
| 16 | + set zrange [-10 : 10] | ||
| 17 | + set xtics 2 offset 0,-0.5 | ||
| 18 | + set ytics 2 offset 0,-0.5 | ||
| 19 | + set ztics 5 | ||
| 20 | + | ||
| 21 | + f(x,y) = x**2 + y**2 * (1 - x)**3 | ||
| 22 | + | ||
| 23 | + set multiplot layout 1,2 title "new pm3d option for smooth clipping against zrange" | ||
| 24 | + set title "set pm3d clip4in (old default)" | ||
| 25 | + set pm3d clip4in | ||
| 26 | + | ||
| 27 | + splot f(x,y) with pm3d fc "cyan" | ||
| 28 | + | ||
| 29 | + set title "set pm3d clip z (new default)" | ||
| 30 | + set pm3d clip z | ||
| 31 | + | ||
| 32 | + replot | ||
| 33 | + unset multiplot | ||
| 34 | + | ||
| 35 | + pause -1 "<return> to continue" | ||
| 36 | + reset | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments