-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hello,
I installed Emacs 23.1.1 and Octave 3.2.3 on my computer running Vista.
To make Emacs find Octave, and to make Octave's prompt what Emacs expects, I added the following to the end of my .emacs file:
(setq inferior-octave-program "C:/Octave/3.2.3_gcc-4.4.0/bin/octave-3.2.3.exe")
(setq inferior-octave-startup-args…
>>> More
-
as seen on Ask Ubuntu
- Search for 'Ask Ubuntu'
I want to install the GNU Octave optim package, but I keep receiving errors in the process. Apparently I need to install some other packages first, one of which is the general package. However, when I try to, I receive this error:
octave:17> pkg install general-1.3.2.tar.gz
make: /usr/bin/mkoctfile:…
>>> More
-
as seen on Super User
- Search for 'Super User'
If the title to this question seems a bit vague, I am sorry. But I wasn't sure how to distill what I am attempting to do into a single sentence.
A few weeks back I learned that I could build and install recent releases of Octave on an Ubuntu 12.04 system by following the steps below.
Install the…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi everyone,
Im trying to plot the roots of a polynomial, and i just cant get it.
First i create my polynomial
p5 = [1 0 0 0 0 -1] %x^5 - 1
r5 = roots(p5)
stem (p5)
Im using the stem function, but I would like to remove the stems, and just get the circle around the roots.
Is this possible, is…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I came into matrix world from loop world(C, etc)
I would like to call a function on each individual member of a vector/matrix, and return the resulting vector/matrix.
This is how I currently do it:
function retval = gauss(v, a, b, c)
for i = 1:length(v)
retval(i) = a*(e^(-(v(i)-b)*(v(i)-b)/(2*c*c)));
…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hey there,
I want to call gnuplot with a shell command, all the commands are stored in, let's say, "load.gp".
If I start the gnuplot shell and type "load 'load.gp'" I can change the viewpoint by dragging the splot with the mouse around.
The Problem is, I can't figure out how to reach that without…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi,
does anyone know how I can achieve drawing triangle on level sets of some 3d function (something like on this image in gnuplot? When I tried doing this after reading some tutorials:
gnuplot> set border 15 front linetype -1 linewidth 1.000
gnuplot> set logscale z 10
gnuplot> set view…
>>> More
-
as seen on Super User
- Search for 'Super User'
I have had TM 1.X since a long time ago, but a week ago I updated my system to Mountain Lion 10.8.2 and installed TM2.
The problem is that I write with LaTeX, and sometimes I use gnuplot for the graphs (I installed gnuplot with macports). But now it doesn't work because the --shell-escape doesn't…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I know how to create a histogram (just use "with boxes") in gnuplot if my .dat file already has properly binned data. Is there a way to take a list of numbers and have gnuplot provide a histogram based on ranges and bin sizes the user provides?
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi,
Gnuplot, a great package ... I'm in love with it. But we can have our tiffs as well, as any couple :-)
This time, I wanted to simply plot the roots of an equation: say a quadratic to keep things simple. However, I only want two nice round dots appearing on the x-axis representing the point where…
>>> More