Graphics_toolkit at line 81 column 5 UpdateĪccepted solution works up until version 4.2.0-rc2, so now check the update in the answer for more information. Graphics_toolkit at line 81 column 5 octave:2> graphics_toolkit fltkĮrror: graphics_toolkit: fltk toolkit is not available octave:1> graphics_toolkit aquaĮrror: graphics_toolkit: aqua toolkit is not available I think the problem is with graphics_toolkit, but I do not know how to resolve this. Thanks Daniel Re: AQT-user x11 works but aqua doesnt - Mac OS 10.6.6. Do you know what can I check Is there any advantage on using aquaterm vs x11 I have installed gnuplot and aquaterm both using macports. However, if I let set term aqua I dont see any graphics. But in Octave, when I want to set term aqua or set term, it reports:Įrror: invalid conversion from string to real N-d array error: set:Įxpecting graphics handle as first argumentĪlso, I tried with: echo -E "setenv('GNUTERM','X11')" > ~/.octavercīut that did not help either. When I use set term x11 I can actually see the plots. so that graphics can be displayed in either an AquaTerm window or under X11. When I try to plot directly from Gnuplot and set term aqua, it works and I get plots. At the time of this writing, AquaTerm has adapters for gnuplot and PGPLOT. plot(rand(3)), then Octave just freeze, so I have to do Control-C to abort. Sudo ln -s /Library/Frameworks/amework/Versions/A/Headers /usr/local/include/aquaterm Sudo ln -s /Library/Frameworks/amework/Versions/A/AquaTerm /usr/local/lib/libaquaterm.1.0.0.dylib Sudo ln -s /Library/Frameworks/amework/Versions/A/AquaTerm /usr/local/lib/libaquaterm.dylib This problem is fixed using instructions from this answer, in short: brew uninstall gnuplot Set terminal aqua enhanced title "Figure 1" size 560 420 font While the X11 terminal is a satisfactory GUI view for the graphs, I prefer to use the AquaTerm terminal on OSX as it is more ‘Mac-like’ and feels more natural. Octave and Gnuplot are installed with Homebrew on OS X El Capitan, and after trying to do first plot, I got error: The gnuplot graphing utility has always had excellent support for multiple terminal types. I hope you find this helpful.I have a problem ploting from Octave. How to use aquaterm instead of X11 in octave Instead of installing and integrating aquaterm into gnuplot, in octave typed: setenv GNUTERM x11. Sudo ln -s /Library/Frameworks/amework/Versions/A/Headers/* /usr/local/include/aquaterm/ If they do not, you can set them up by typing the following commands in your shell: sudo ln -s /Library/Frameworks/amework/Versions/A/AquaTerm /usr/local/lib/libaquaterm.dylib close all setenv ('GNUTERM', 'x11') After that all plots should use the x11 terminal. Scofield To use mouse actions (rotating 3D plots for example) you'll need to use X11 instead of AquaTerm. use refresh rather than replot if the input data stream is marked volatile. My first plot of any session always > causes AquaTerm to start up. You can check them thy typing: ls /usr/local/lib/libaquaterm* Recent additions include interactive terminals based on aquaterm (OSX) and. I then reinstalled gnuplot just to realise that some symlinks were not created. Just in case the problem was with AquaTerm I re-downloaded it and installed it again. part of the result using gnuplots real function, and plot that instead: And. Im attaching a patch that enables using -framework AquaTerm instead of -laquaterm switch when compiling gnuplot. I would like to provoke some discussion about what you think of adding the following variants to gnuplot: defaultaquaterm defaultqt defaultwxt defaultx11 Another 'quick & dirty' patch for setting the default terminal is just disabling aquaterm with -aquaterm (and a tiny bit of extra code), see also 34423. Not the greatest of issues, but I really prefer the look of graphs in Aquaterm and here are some steps I followed to get things sorted:įirst I uninstalled gnuplot from Homebrew using: The command set ytics nomirror tells gnuplot to use a different axis on the. I recently updated my version of Octave using Homebrew and something went a bit eerie… Nothing major except that instead of plotting to the Aquaterm terminal, Octave and Gnuplot were only happy with X11.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |