[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Printing a plot...
From: |
martine1212 |
Subject: |
Printing a plot... |
Date: |
Mon, 15 Jul 2013 17:38:02 -0700 (PDT) |
According to the help menu...
— Function File: print ()
— Function File: print (options)
— Function File: print (filename, options)
— Function File: print (h, filename, options)
Using the last one in my program
print(H1, 'dummy.pdf', -landscape);
print (h1, 'dummy.pdf', -landscape)
?? error?? landscape
error: `landscape' undefined near line 69 column 26
error: evaluating argument list element number 3
ok try putting '-landscape'
print (h1, 'dummy.pdf', '-landscape')
error: strtrim: S argument must be a string or cellstring
error: called from:
error: /usr/share/octave/3.6.3/m/strings/strtrim.m at line 71, column 5
error: /usr/share/octave/3.6.3/m/plot/private/__print_parse_opts__.m at
line 78, column 9
error: /usr/share/octave/3.6.3/m/plot/print.m at line 260, column 8
ok, how does it work??
This works (but it does not follow the published format)
print -landscape dummy.pdf
but how do I tell to print h1
--
View this message in context:
http://octave.1599824.n4.nabble.com/Printing-a-plot-tp4655678.html
Sent from the Octave - General mailing list archive at Nabble.com.
- Printing a plot...,
martine1212 <=