1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261
|
ePiX -- samples/README
Last Change: October 23, 2007
This directory contains sample files. Files with extension ".flx" may
be compiled like xp files with epix or elaps, or converted to gif or
mng animations with flix.
artifacts.xp
Interaction between coarse and fine meshes in shade surface plotting.
binom.cc:
Generates pseudo-random data for histogram.xp
bowl.xp:
Quasi-realistic colored surface shading.
butterfly.xp:
A Thom catastrophe graph.
calculus.xp:
Plotting derivatives and definite integrals.
clipping.xp:
Clipping, shaded surfaces, and fake transparency.
color_sep.xp:
Color separation.
conic.xp:
Envelopes and tangent lines; projective equivalence of a parabola
with a circle.
contour.xp:
Building a path from sub-paths.
coord_tricks.xp:
Using page layout to achieve broken axes.
cropplot.xp
Graphing functions with singularities.
cube.flx:
Stereoscopic (3-D glasses) movie of a rotating cube.
dataplot.xp:
Scatter plots, histograms, and page layout.
decorate.xp:
Decorated shaded surface (see file for compiling).
demoivre.xp:
Loops; a geometric proof of deMoivre's formula.
densityplot.xp:
A gray-shaded interference pattern.
dipole.xp:
Plotting flow lines and isobars.
denom.xp:
Loops and gcd; Thomae's function with discontinuity set Q.
extract.xp:
A magnified inset using screen::extract; an unexpected tangent line.
geomsum.xp:
Loops and color filling.
golden_rect.xp:
Simple use of variables; constructing a golden rectangle.
helicoid.flx:
Isometric deformation of a catenoid to a helicoid.
hello.xp:
My First Figure, from the manual.
histogram.xp:
Histograms of simulated coin tosses (data from binom.cc).
house.flx:
Color semantics; sun setting on a simple house.
hyperboloid.xp:
Clipping, shaded surfaces; two families of rulings on a hyperboloid.
inverse.xp:
Screen affine operations; inverse functions.
koch.xp:
The von Koch snowflake fractal.
label_debug.xp:
Format debugging tests for labels, draws 32 attribute combinations.
layout2.xp:
Page layout; flow lines of a planar vector field.
layout.xp:
Page layout; six views of the square root Riemann surface.
legend.xp:
Axes and legends; Taylor polynomials of sin x.
levelset.xp:
Clipping and plotting; manual level curves on a saddle.
levelset2.xp:
"Advanced" clipping; level bands on a monkey saddle.
levelset3.xp:
Clipping and legends; flat-shaded level bands wth matching legend.
lissajous.xp:
A Lissajous figure with arrows.
lighting.h: Classes for lighting effects and color-shaded surfaces.
(lighting.flx illustrates use.)
line_debug.xp:
Format debugging tests for paths, draws 32 attribute combinations.
log.xp:
Object hiding with paths and surfaces; the Riemann surface of log.
lorenz.xp:
Page layout, ode_plot; the Lorenz attractor and its 3-D vector field.
medians.xp:
Euclidean geometry; medians and altitudes of a triangle.
minkowski.xp:
A longitudinal slice of Minkowski space R^{2,1}.
mirrorball.flx:
The circle class and intersections; 3-D stereographic movie.
newton.xp:
Loops; root location by Newton's method.
objects.xp:
Simple geometric objects; 2-D landscape.
oscillator.xp:
Graphing, user-defined elements, and page layout.
parabola.xp:
A basic plot.
pascal.xp:
Intersection operators; Pascal's theorem in projective geometry.
pendulum.flx:
Phase diagram of an undamped pendulum.
planes.xp:
Manipulating objects, clipping; a stack of plane sections of a cube.
plotting2.xp:
Surface plotting in PSTricks; from the manual.
plotting3.xp:
Loops and color control; from the manual.
plotting.xp:
A basic plot; from the manual.
polar.xp:
Polar plotting.
pole.xp:
Clipping a plot; the real part of a first-order pole.
polyhedra.xp:
Spherical regular polyhedra. Compilation controlled with
pre-processor flags, e.g., "epix -DCOLOR -DDODECA polyhedra.xp".
R_demo.xp:
Gaussians from the R demo.
riemann.flx:
Rotating the Riemann surface of sqrt(z) in R^4.
S2_harmonics.xp:
Domain-dependent surface shading (color function depends on two
variables), page layout; the spherical harmonic Y_3^0. (Compile with
"epix -DY20 S2_harmonics.xp" for Y_2^0.)
saddle.xp:
A quadratic saddle using "surface" capabilities.
semicirc.xp:
A simple figure using variables and a function for organization.
shadeplot.xp:
Shading regions enclosed by graphs; the fundamental theorem of calculus.
slopefield.xp:
A slope field and flow lines.
sphere.xp:
Plotting curves and latitudes/longitudes; loxodromes.
spherical.xp:
Scenery (multiple shaded surfaces); spherical coordinates.
sqrt.xp:
Domains and selective plotting; the Riemann surface of sqrt(z).
sqrt2.xp:
Domains, selective plotting, and change of style in a single plot.
std_F.cc, std_F.h:
Extensively-commented library code for depicting 2-D affine maps.
std_F.xp:
Sample file illustrating the use of external libraries. Contains
instructions on building a library from std_F.cc.
steiner.flx:
Steiner's Roman surface, rotating.
steiner2.flx:
Steiner's Roman surface sliced, with slice direction rotating.
stereo_proj.flx:
The image of a rotating half-sphere under stereographic projection.
surface_shade.xp:
Position-dependent surface shading. (Color function depends on three
variables.)
symmetries.xp:
Affine maps and layout; the symmetry group S_3 acting on a regular
hexagon.
tori.xp:
Clipping and cropping, page layout.
torus.xp:
Domains and selective plotting.
trig.flx:
Trigonometric functions.
twisted_cubic.xp:
Page layout; a crossed-eyes stereogram of the twisted cubic.
uppersum.xp:
Riemann sums.
vfield.xp:
3-D vector field plotting.
weierstrass.xp:
Loops; a Weierstrass nowhere-differentiable function.
wheel.xp:
Page layout; a cycloid at successive times.
|