Permalink
Browse files

Add WebPlotDigitizer 3.8

  • Loading branch information...
1 parent 22e5e76 commit 7baf1abebbda35aab4ad43ea516404bd9b027913 @ankitrohatgi committed May 12, 2015
Showing with 33,664 additions and 0 deletions.
  1. +2 −0 .Rbuildignore
  2. +3 −0 .gitignore
  3. +1 −0 R/digitizeR.R
  4. +675 −0 tools/WebPlotDigitizer-3.8/COPYING
  5. +42 −0 tools/WebPlotDigitizer-3.8/README.md
  6. +15 −0 tools/WebPlotDigitizer-3.8/build.sh
  7. +11 −0 tools/WebPlotDigitizer-3.8/combine.sh
  8. +241 −0 tools/WebPlotDigitizer-3.8/combined-compiled.js
  9. +8,756 −0 tools/WebPlotDigitizer-3.8/combined.js
  10. +7 −0 tools/WebPlotDigitizer-3.8/compile.sh
  11. +787 −0 tools/WebPlotDigitizer-3.8/dev.html
  12. BIN tools/WebPlotDigitizer-3.8/images/barchart.png
  13. BIN tools/WebPlotDigitizer-3.8/images/crosshair.png
  14. +79 −0 tools/WebPlotDigitizer-3.8/images/crosshair.svg
  15. BIN tools/WebPlotDigitizer-3.8/images/icon.png
  16. +392 −0 tools/WebPlotDigitizer-3.8/images/icon.svg
  17. BIN tools/WebPlotDigitizer-3.8/images/map.png
  18. +152 −0 tools/WebPlotDigitizer-3.8/images/map.svg
  19. BIN tools/WebPlotDigitizer-3.8/images/polaraxes.png
  20. +844 −0 tools/WebPlotDigitizer-3.8/images/polaraxes.svg
  21. BIN tools/WebPlotDigitizer-3.8/images/ternaryaxes.png
  22. +240 −0 tools/WebPlotDigitizer-3.8/images/ternaryaxes.svg
  23. BIN tools/WebPlotDigitizer-3.8/images/ternarynormal.png
  24. +281 −0 tools/WebPlotDigitizer-3.8/images/ternarynormal.svg
  25. BIN tools/WebPlotDigitizer-3.8/images/ternaryreverse.png
  26. +281 −0 tools/WebPlotDigitizer-3.8/images/ternaryreverse.svg
  27. BIN tools/WebPlotDigitizer-3.8/images/xyaxes.png
  28. +761 −0 tools/WebPlotDigitizer-3.8/images/xyaxes.svg
  29. +756 −0 tools/WebPlotDigitizer-3.8/index.html
  30. +37 −0 tools/WebPlotDigitizer-3.8/javascript/browser/browserInfo.js
  31. +56 −0 tools/WebPlotDigitizer-3.8/javascript/core/AEalgos/averagingWindow.js
  32. +133 −0 tools/WebPlotDigitizer-3.8/javascript/core/AEalgos/averagingWindowCore.js
  33. +155 −0 tools/WebPlotDigitizer-3.8/javascript/core/AEalgos/averagingWindowWithStepSize.js
  34. +189 −0 tools/WebPlotDigitizer-3.8/javascript/core/AEalgos/barExtraction.js
  35. +142 −0 tools/WebPlotDigitizer-3.8/javascript/core/AEalgos/blobdetector.js
  36. +207 −0 tools/WebPlotDigitizer-3.8/javascript/core/AEalgos/xStepWithInterpolation.js
  37. +59 −0 tools/WebPlotDigitizer-3.8/javascript/core/appData.js
  38. +150 −0 tools/WebPlotDigitizer-3.8/javascript/core/autoDetection.js
  39. +152 −0 tools/WebPlotDigitizer-3.8/javascript/core/axes/bar.js
  40. +79 −0 tools/WebPlotDigitizer-3.8/javascript/core/axes/image.js
  41. +114 −0 tools/WebPlotDigitizer-3.8/javascript/core/axes/map.js
  42. +175 −0 tools/WebPlotDigitizer-3.8/javascript/core/axes/polar.js
  43. +179 −0 tools/WebPlotDigitizer-3.8/javascript/core/axes/ternary.js
  44. +275 −0 tools/WebPlotDigitizer-3.8/javascript/core/axes/xy.js
  45. +129 −0 tools/WebPlotDigitizer-3.8/javascript/core/calibration.js
  46. +130 −0 tools/WebPlotDigitizer-3.8/javascript/core/colorAnalysis.js
  47. +154 −0 tools/WebPlotDigitizer-3.8/javascript/core/connectedPoints.js
  48. +165 −0 tools/WebPlotDigitizer-3.8/javascript/core/dataSeries.js
  49. +179 −0 tools/WebPlotDigitizer-3.8/javascript/core/dateConversion.js
  50. +127 −0 tools/WebPlotDigitizer-3.8/javascript/core/gridDetectionCore.js
  51. +71 −0 tools/WebPlotDigitizer-3.8/javascript/core/inputParser.js
  52. +93 −0 tools/WebPlotDigitizer-3.8/javascript/core/mathFunctions.js
  53. +88 −0 tools/WebPlotDigitizer-3.8/javascript/core/plotData.js
  54. +56 −0 tools/WebPlotDigitizer-3.8/javascript/main.js
  55. +89 −0 tools/WebPlotDigitizer-3.8/javascript/services/download.js
  56. +56 −0 tools/WebPlotDigitizer-3.8/javascript/services/plotly.js
  57. +272 −0 tools/WebPlotDigitizer-3.8/javascript/services/saveResume.js
  58. +66 −0 tools/WebPlotDigitizer-3.8/javascript/services/scriptInjection.js
  59. +442 −0 tools/WebPlotDigitizer-3.8/javascript/tools/alignAxes.js
  60. +190 −0 tools/WebPlotDigitizer-3.8/javascript/tools/autodetect.js
  61. +272 −0 tools/WebPlotDigitizer-3.8/javascript/tools/colorPicker.js
  62. +261 −0 tools/WebPlotDigitizer-3.8/javascript/tools/dataProviders.js
  63. +69 −0 tools/WebPlotDigitizer-3.8/javascript/tools/graphicsHelper.js
  64. +326 −0 tools/WebPlotDigitizer-3.8/javascript/tools/gridDetection.js
  65. +80 −0 tools/WebPlotDigitizer-3.8/javascript/tools/imageOps.js
  66. +62 −0 tools/WebPlotDigitizer-3.8/javascript/tools/keyCodes.js
  67. +540 −0 tools/WebPlotDigitizer-3.8/javascript/tools/manualDataCollection.js
  68. +370 −0 tools/WebPlotDigitizer-3.8/javascript/tools/mask.js
  69. +486 −0 tools/WebPlotDigitizer-3.8/javascript/tools/measurement.js
  70. +139 −0 tools/WebPlotDigitizer-3.8/javascript/widgets/dataSeriesManagement.js
  71. +316 −0 tools/WebPlotDigitizer-3.8/javascript/widgets/dataTable.js
  72. +708 −0 tools/WebPlotDigitizer-3.8/javascript/widgets/graphicsWidget.js
  73. +76 −0 tools/WebPlotDigitizer-3.8/javascript/widgets/layoutManager.js
  74. +229 −0 tools/WebPlotDigitizer-3.8/javascript/widgets/popups.js
  75. +63 −0 tools/WebPlotDigitizer-3.8/javascript/widgets/sidebars.js
  76. +46 −0 tools/WebPlotDigitizer-3.8/javascript/widgets/toolbars.js
  77. +76 −0 tools/WebPlotDigitizer-3.8/javascript/widgets/transformationEquations.js
  78. +92 −0 tools/WebPlotDigitizer-3.8/javascript/widgets/webcam.js
  79. +136 −0 tools/WebPlotDigitizer-3.8/javascript/widgets/zoom.js
  80. +737 −0 tools/WebPlotDigitizer-3.8/offline.html
  81. +11 −0 tools/WebPlotDigitizer-3.8/php/csvexport.php
  82. +9 −0 tools/WebPlotDigitizer-3.8/php/json.php
  83. +196 −0 tools/WebPlotDigitizer-3.8/release_notes.txt
  84. +789 −0 tools/WebPlotDigitizer-3.8/remote_launcher.php
  85. +20 −0 tools/WebPlotDigitizer-3.8/renderHtml.py
  86. BIN tools/WebPlotDigitizer-3.8/start.png
  87. +257 −0 tools/WebPlotDigitizer-3.8/styles.css
  88. +114 −0 tools/WebPlotDigitizer-3.8/templates/_base.html
  89. +70 −0 tools/WebPlotDigitizer-3.8/templates/_menubar.html
  90. +412 −0 tools/WebPlotDigitizer-3.8/templates/_popups.html
  91. +128 −0 tools/WebPlotDigitizer-3.8/templates/_sidebars.html
  92. +15 −0 tools/WebPlotDigitizer-3.8/templates/_toolbars.html
  93. +54 −0 tools/WebPlotDigitizer-3.8/templates/dev.html
  94. +23 −0 tools/WebPlotDigitizer-3.8/templates/index.html
  95. +4 −0 tools/WebPlotDigitizer-3.8/templates/offline.html
  96. +56 −0 tools/WebPlotDigitizer-3.8/templates/remote_launcher.php
  97. +6 −0 tools/WebPlotDigitizer-3.8/tests/getWPDCore.sh
  98. +23 −0 tools/WebPlotDigitizer-3.8/tests/main.js
  99. +3,041 −0 tools/WebPlotDigitizer-3.8/tests/wpdcore.js
  100. +1 −0 tools/WebPlotDigitizer-3.8/tests/wpdmodule.js
  101. +4,463 −0 tools/WebPlotDigitizer-3.8/thirdparty/bson.js
  102. +3 −0 tools/WebPlotDigitizer-3.8/thirdparty/numeric-1.2.6.min.js
  103. +150 −0 tools/WebPlotDigitizer-3.8/widgets.css
View
@@ -0,0 +1,2 @@
+^.*\.Rproj$
+^\.Rproj\.user$
View
@@ -0,0 +1,3 @@
+.Rproj.user
+.Rhistory
+.RData
View
@@ -17,4 +17,5 @@ testList <- list(a = function() { print("a") })
testFn <- function() {
p <- rjson::fromJSON('{"x": 1}')
print(p)
+ print(system.file(package="digitizeR"))
}
Oops, something went wrong.
@@ -0,0 +1,42 @@
+WebPlotDigitizer
+================
+
+A web based tool to extract numerical data from plot images. Supports XY, Polar, Ternary diagrams and Maps.
+
+This tool has been developed using HTML5, CSS3 and Javascript and therefore runs from within the browser and requires no installation.
+
+Homepage
+--------
+
+This project is hosted on [http://arohatgi.info/WebPlotDigitizer](http://arohatgi.info/WebPlotDigitizer)
+
+Usage
+-----
+
+Instructions and video tutorials are available at [http://arohatgi.info/WebPlotDigitizer/tutorial.html](http://arohatgi.info/WebPlotDigitizer/tutorial.html)
+
+Scripting
+---------
+
+Users can load scripts to extend the capabilities of WebPlotDigitizer. For samples see [WebPlotDigitizer-Examples](http://github.com/ankitrohatgi/WebPlotDigitizer-Examples). If you are looking for a custom script, then email me.
+
+Offline Development/Usage
+-------------------------
+
+This tool has to be hosted on a HTTP server with PHP for some javascript features and PHP scripts to function correctly. The master branch of the code is usually unstable and not recommended for download (only for development). To download a stable release of this app, check [Releases](https://github.com/ankitrohatgi/WebPlotDigitizer/releases).
+
+Development/Hacking
+-------------------
+
+ - dev.html and index.html are generated files!
+ - index.html is the deployed page on the website and uses a compiled and compressed version of the javascript code.
+ - dev.html is to be used during development. This uses the uncompressed/uncompiled javascript files.
+ - build.sh generates dev.html and index.html based on the files in the templates folder and the javascript folder.
+ - Host the pages on a PHP enabled web server (e.g. php -S localhost:8000 ) during development.
+
+Contact
+-------
+
+Ankit Rohatgi <ankitrohatgi@hotmail.com>
+
+
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+echo "Combining Javascript Files..."
+bash combine.sh
+
+echo "Compiling Javascript Files..."
+bash compile.sh
+
+echo "Rendering HTML Pages..."
+python renderHtml.py
+
+echo "Done!"
+echo "To test this WebPlotDigitizer build, run: "
+echo " php -S localhost:8000"
+echo "Then open http://localhost:8000/dev.html or http://localhost:8000/index.html"
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+cat javascript/*.js > combined.js
+cat javascript/core/*.js >> combined.js
+cat javascript/core/AEalgos/*.js >> combined.js
+cat javascript/core/axes/*.js >> combined.js
+cat javascript/widgets/*.js >> combined.js
+cat javascript/tools/*.js >> combined.js
+cat javascript/services/*.js >> combined.js
+cat javascript/browser/*.js >> combined.js
+
Oops, something went wrong.
Oops, something went wrong.

0 comments on commit 7baf1ab

Please sign in to comment.