Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Apple Computing Products:
macOS - Apps and Programs
Plots in octave don't work
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="steviep" data-source="post: 1260840" data-attributes="member: 197360"><p>I've made some progress on my question. I've found the following in octave:</p><p>[CODE]> getenv("GNUTERM")</p><p>ans = </p><p>[/CODE]</p><p>This website gave a solution: </p><p><a href="http://octave.1599824.n4.nabble.com/plot-commands-do-not-work-for-octave-on-Mac-OS-X-10-6-2-td1674316.html" target="_blank">Octave - Bugs - plot commands do not work for octave on Mac OS X 10.6.2</a></p><p></p><p>[CODE]> setenv("GNUTERM","X11")</p><p>> getenv("GNUTERM")</p><p>ans = X11[/CODE]</p><p></p><p>Then </p><p>[CODE]> x=linspace(0,5); plot(x,sin(x))</p><p>[/CODE]</p><p>works, and the plot opens up.</p><p></p><p>-So is there a way to have these commands executed every time octave opens, so plots work by default? </p><p></p><p>steviep</p></blockquote><p></p>
[QUOTE="steviep, post: 1260840, member: 197360"] I've made some progress on my question. I've found the following in octave: [CODE]> getenv("GNUTERM") ans = [/CODE] This website gave a solution: [url=http://octave.1599824.n4.nabble.com/plot-commands-do-not-work-for-octave-on-Mac-OS-X-10-6-2-td1674316.html]Octave - Bugs - plot commands do not work for octave on Mac OS X 10.6.2[/url] [CODE]> setenv("GNUTERM","X11") > getenv("GNUTERM") ans = X11[/CODE] Then [CODE]> x=linspace(0,5); plot(x,sin(x)) [/CODE] works, and the plot opens up. -So is there a way to have these commands executed every time octave opens, so plots work by default? steviep [/QUOTE]
Verification
Name this item. 🍎
Post reply
Forums
Apple Computing Products:
macOS - Apps and Programs
Plots in octave don't work
Top