File: Makefile.canvas

package info (click to toggle)
gnuplot 6.0.2%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 14,936 kB
  • sloc: ansic: 95,319; cpp: 7,590; makefile: 2,470; javascript: 2,328; sh: 1,531; lisp: 664; perl: 304; pascal: 191; tcl: 88; python: 46
file content (86 lines) | stat: -rw-r--r-- 3,198 bytes parent folder | download | duplicates (3)
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
all: html

distclean: clean
clean:
	rm -f *.gnu *.html *.dat *.tmp *.js *.par *.png jsdir

GNUPLOT_LIB = ..

#
# Auto-generation of html demo set.
#
html_3d: binary.html bivariat.html contourfill.html contours.html custom_contours.html \
    datastrings.html discrete.html errorbars.html fenceplot.html \
    hidden.html hidden2.html hidden_compare.html margins.html \
    pixmap.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 zerror.html boxes3d.html vplot.html voxel.html \
    isosurface.html

html_2d: airfoil.html approximate.html array.html \
    barchart_art.html bins.html boxplot.html boxclusters.html \
    candlesticks.html canvas_utf8.html chi_shapes.html circles.html cities.html \
    columnhead.html controls.html convex_hull.html custom_key.html \
    dashtypes.html electron.html ellipse.html enhanced_utf8.html \
    fillbetween.html fillcrvs.html fillstyle.html finance.html \
    heatmaps.html heatmap_4D.html heatmap_points.html \
    histograms.html histograms2.html histerror.html histogram_colors.html \
    hsteps.html hypertext.html hypertext_surface.html \
    gantt.html imageNaN.html index.html iris.html iterate.html jitter.html keyentry.html \
    label_stacked_histograms.html layout.html lines_arrows.html linkedaxes.html \
    logic_timing.html map_projection.html mask_pm3d.html monotonic_spline.html \
    multiaxis.html multiplt.html \
    nonlinear1.html nonlinear2.html nonlinear3.html named_palettes.html nokey.html \
    param.html piecewise.html polar.html polargrid.html poldat.html polar_quadrants.html \
    prob2.html prob.html rainbow.html rank_sequence.html rectangle.html \
    rgba_lines.html argb_hexdata.html rotate_labels.html rugplot.html running_avg.html \
    simple.html sectors.html sharpen.html smooth.html smooth_path.html solar_path.html \
    smooth_splines.html spiderplot.html spline.html steps.html stats.html \
    transparent.html timedat.html ttics.html using.html varcolor.html violinplot.html \
    windrose.html world.html

html: html_2d html_3d

index.html: index.canvas mouseable.js
	cp index.canvas index.html
	cp ../../term/js/*.png .

mouseable.js:
	../../src/gnuplot mouseable.dem

ellipse.html: random.html

rugplot.html: random.html

canvas_utf8.html: canvas_utf8.dem
	gnuplot canvas_utf8.dem

#
# Examples of mousing code
#
smooth_splines.html: jsdir
	./webify_canvas.pl --mouse --grid smooth_splines

cities.html: jsdir
	./webify_canvas.pl --mouse cities
	cat cities.html | sed -e 's/grid_lines/zoom_text/' > xxx
	mv xxx cities.html

# This example needs patching to report the mouse readout in the right units
linkedaxes.html: jsdir
	./webify_canvas.pl --mouse linkedaxes
	patch --posix < linkedaxes.patch

jsdir:
	cp ../../term/js/*.png .
	cp ../../term/js/*.js .
	cp ../../term/js/*.css .
	cp ../../term/js/canvas_help.html .
	cp canvasmath.js canvastext.js
	touch jsdir

%.html: $(GNUPLOT_LIB)/%.dem ./webify_canvas.pl jsdir
	./webify_canvas.pl --mouse $*