GitBucket
4.21.2
Toggle navigation
Snippets
Sign in
Files
Branches
12
Releases
Issues
Pull requests
Labels
Priorities
Milestones
Wiki
Forks
nigel.stanger
/
Publications
Browse code
- Added base Ploticus source for growth chart.
OCLC_2007
1 parent
da17eef
commit
57cb030107dda98fcc53310dd6454bbcdde4ca3f
nstanger
authored
on 20 Sep 2006
Patch
Showing
2 changed files
Makefile
otago_growth.plo
Ignore Space
Show notes
View
Makefile
.SUFFIXES: .eps .dvi .ps .bbl .bib .tex .plo .tif .pdf SHELL=/bin/sh lineplot = ploticus -eps -tightcrop -o $(1).eps lineplot.plo infile=$(2) \ title=$(3) ytitle=$(4) ymin=$(5) ymax=$(6); \ epstopdf $(1).eps; \ rm -f $(1).eps GRAPHICS:=otago_growth.pdf OCLC.pdf: OCLC.tex OCLC.bib $(GRAPHICS) pdflatex $< bibtex $* pdflatex $< pdflatex $< # jpeg_detail.png: ImageGeneration-full.png # convert -crop 180x95+150+95 $< $@ # # overlay_detail.png: PointOverlay-full.png # convert -crop 180x95+150+95 $< $@ otago_growth.pdf: otago_growth.plo $(call lineplot,$*,$<,'Size of Generated Data','Data size (kB)',1,200000) # data_generation_time.pdf: d_data_generation_time.txt lineplot.plo # $(call lineplot,$*,$<,'Data Generation Time','Average time to generate data at server (s)',0.001,2000) # # page_load_time.pdf: d_page_load_time.txt lineplot.plo # $(call lineplot,$*,$<,'Map Display Time','Average time to display map at client (s)',0.001,2000) # # combined_time.pdf: d_combined_time.txt lineplot.plo # $(call lineplot,$*,$<,'Combined Page Load Time','Average time to generate data and display map (s)',0.001,2000) # # real_memory.pdf: d_real_memory.txt lineplot.plo # $(call lineplot,$*,$<,'Real Memory Usage','Browser real memory size (MB)',10,1200) # # virtual_memory.pdf: d_virtual_memory.txt lineplot.plo # $(call lineplot,$*,$<,'Virtual Memory Usage','Browser virtual memory size (MB)',10,1200) clean: rm -f *.aux *.bbl *.blg *.log *.dvi *.ps OCLC.pdf %.pdf: %.svg inkscape --file=$< --export-text-to-path --without-gui --export-eps=$*.eps ps2eps --ignoreBB --nohires --loose --gsbbox < $*.eps | ps2pdf -dEPSCrop - $@ rm -f $*.eps %.pdf: %.ps ps2pdf -dNOCACHE $< $@ %.ps: %.dvi dvips -o $@ $< %.dvi: %.tex latex $< latex $< %.eps: %.tif convert $< $@
.SUFFIXES: .eps .dvi .ps .bbl .bib .tex .plo .tif .pdf SHELL=/bin/sh # lineplot = ploticus -eps -tightcrop -o $(1).eps lineplot.plo infile=$(2) \ # title=$(3) ytitle=$(4) ymin=$(5) ymax=$(6); \ # epstopdf $(1).eps; \ # rm -f $(1).eps GRAPHICS:= OCLC.pdf: OCLC.tex OCLC.bib $(GRAPHICS) pdflatex $< bibtex $* pdflatex $< pdflatex $< # jpeg_detail.png: ImageGeneration-full.png # convert -crop 180x95+150+95 $< $@ # # overlay_detail.png: PointOverlay-full.png # convert -crop 180x95+150+95 $< $@ # # data_size.pdf: d_data_size.txt lineplot.plo # $(call lineplot,$*,$<,'Size of Generated Data','Data size (kB)',1,200000) # # data_generation_time.pdf: d_data_generation_time.txt lineplot.plo # $(call lineplot,$*,$<,'Data Generation Time','Average time to generate data at server (s)',0.001,2000) # # page_load_time.pdf: d_page_load_time.txt lineplot.plo # $(call lineplot,$*,$<,'Map Display Time','Average time to display map at client (s)',0.001,2000) # # combined_time.pdf: d_combined_time.txt lineplot.plo # $(call lineplot,$*,$<,'Combined Page Load Time','Average time to generate data and display map (s)',0.001,2000) # # real_memory.pdf: d_real_memory.txt lineplot.plo # $(call lineplot,$*,$<,'Real Memory Usage','Browser real memory size (MB)',10,1200) # # virtual_memory.pdf: d_virtual_memory.txt lineplot.plo # $(call lineplot,$*,$<,'Virtual Memory Usage','Browser virtual memory size (MB)',10,1200) clean: rm -f *.aux *.bbl *.blg *.log *.dvi *.ps OCLC.pdf %.pdf: %.svg inkscape --file=$< --export-text-to-path --without-gui --export-eps=$*.eps ps2eps --ignoreBB --nohires --loose --gsbbox < $*.eps | ps2pdf -dEPSCrop - $@ rm -f $*.eps %.pdf: %.ps ps2pdf -dNOCACHE $< $@ %.ps: %.dvi dvips -o $@ $< %.dvi: %.tex latex $< latex $< %.eps: %.tif convert $< $@
Ignore Space
Show notes
View
otago_growth.plo
0 → 100755
//#musthave infile //#musthave title //#musthave ytitle //#musthave ymin //#musthave ymax #proc settings units: cm #endproc #proc getdata delim: comma fieldnameheader: yes data: month,num_items,num_abstracts,num_downloads 11/2005,43,402,233 12/2005,134,2218,712 01/2006,141,1973,958 02/2006,214,3246,1556 03/2006,233,9862,3701 04/2006,244,7975,4050 05/2006,253,6071,3438 06/2006,262,13006,3639 07/2006,268,12210,2791 08/2006,313,10083,3888 #proc areadef // title: "Monthly traffic" // titledetails: size=10 style=B align=C areaname: standard xscaletype: date yscaletype: linear xautorange: datafield=month yautorange: datafield=num_abstracts #proc xaxis: stubs: inc 1 month stubdetails: size=10 label: Number of points labeldetails: style=B size=10 adjust=0,-0.1 ticlen: 0.25 #proc yaxis: stubs: inc 2000 stubdetails: size=10 label: Number of accesses labeldetails: style=B size=10 adjust=-0.3,0 grid: color=gray(0.7) ticlen: 0.25 #proc yaxis: axisline: none selflocatingstubs: text #include chunk_logtics ticlen: 0.1 #proc lineplot xfield: points yfield: image_gen pointsymbol: shape=diamond linecolor=black fillcolor=white legendlabel: Image generation legendsampletype: line+symbol #proc lineplot xfield: points yfield: image_overlay pointsymbol: shape=square style=spokes linecolor=black legendlabel: Image overlay legendsampletype: line+symbol #proc lineplot xfield: points yfield: html_overlay pointsymbol: shape=square linecolor=black fillcolor=white legendlabel: HTML overlay legendsampletype: line+symbol #proc lineplot xfield: points yfield: google_maps pointsymbol: shape=triangle linecolor=black fillcolor=white legendlabel: Google Maps legendsampletype: line+symbol #proc legend format: multiline location: min+2 max-1 textdetails: size=10 seglen: 0.25 frame: yes backcolor: white
Show line notes below