|
From: | Reza Housseini |
Subject: | Re: Printing a plot... |
Date: | Tue, 16 Jul 2013 08:16:29 +0200 |
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.
_______________________________________________
Help-octave mailing list
address@hidden
https://mailman.cae.wisc.edu/listinfo/help-octave
[Prev in Thread] | Current Thread | [Next in Thread] |