help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Plotting on a mac


From: Krishna Mohan
Subject: Plotting on a mac
Date: Wed, 9 May 2012 04:27:43 -0700 (PDT)

I have a simple m file which plots my data in different shades. When I run
this on my Mac Desktop (Lion), I get blank plot windows opening up but no
plot appearing. I also get gnu plot general help read me displayed. What is
going on? The file in question is:

close all;
clear all;
figure;
%
k2 = 176259;
brghtpar=0.5;
%
s=load('-ascii','binke.dat');
a=s(1:k2,1:100);
cmap=contrast(a);
newmap=brighten(cmap,brghtpar);
imagesc(a)
colormap(newmap)
%

Simple plots are working alright and, so Octave and gnu plots are linked up.

--
View this message in context: 
http://octave.1599824.n4.nabble.com/Plotting-on-a-mac-tp4620145.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]