summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryvesf <yvesf-git@xapek.org>2011-06-29 20:49:35 +0200
committeryvesf <yvesf-git@xapek.org>2011-06-29 20:49:35 +0200
commitc9f7b9f93a7048e06c212b3dad5bf0752e2672f2 (patch)
treeaa6161b428a055338547eea3d12b05c93759f5a9
parent7ea94ce94ea0af7df56e2d7aab6158a3edd5bb4b (diff)
downloadebus-alt-c9f7b9f93a7048e06c212b3dad5bf0752e2672f2.tar.gz
ebus-alt-c9f7b9f93a7048e06c212b3dad5bf0752e2672f2.zip
svg device
-rwxr-xr-xtest.r4
1 files changed, 3 insertions, 1 deletions
diff --git a/test.r b/test.r
index 58716e9..5575293 100755
--- a/test.r
+++ b/test.r
@@ -1,5 +1,6 @@
#!/usr/bin/Rscript --vanilla
require(RPostgreSQL)
+require(RSvgDevice)
nulltime <- strptime("01.01.1970", "%d.%m.%Y")
drv <- dbDriver("PostgreSQL")
@@ -7,7 +8,8 @@ con <- dbConnect(drv, host="10.2.2.22", user="jack", password="jack", dbname="eb
## plot 1
-png(file = "Rplots.png", width=1500, height=800)
+#png(file = "Rplots.png", width=1500, height=800)
+devSVG(file="Rplots.svg",width=15,height=10)
par(cex=1.25)
cat("Starte Abfragen\n")
brenner <- dbGetQuery(con,