summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSt33v <st33v@woodenspoon.net>2014-04-05 16:02:11 +1100
committerSt33v <st33v@woodenspoon.net>2014-04-05 16:02:11 +1100
commitb79895a15d0b167b183d173bc94dc1ba98da0557 (patch)
treea0a3ac517232884835b9ddad978398f45c7db0e0
parentb10b7b7550bec22ab463ea2ae95b1467dbd0e442 (diff)
Update plotHEADmaster
-rw-r--r--plot2
1 files changed, 1 insertions, 1 deletions
diff --git a/plot b/plot
index 55c6584..5d2e020 100644
--- a/plot
+++ b/plot
@@ -6,7 +6,7 @@
# ..later.. I like to reduce the size to 80% in MS word - it makes the axis
# lables and other writing a bit smaller (I spuppose I could use cex=.8 or somthing)
myemf <- function(filename, wdt=15, hgt = 12, pdir=plot_dir, has_title = F){
- if(!exists('plot_dir')) plot_dir <- plotDir()
+ if(!exists('pdir')) plot_dir <- plotDir()
filename <- paste(pdir, '/', filename, '.emf', sep='')
win.metafile(file=filename, width=wdt/2.54, height=hgt/2.54)
cat('Plotting to', filename, '\n')