octave-maintainers
[Top][All Lists]
Advanced

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

Plotting on mac


From: Dr. Krishna Mohan, T. R
Subject: Plotting on mac
Date: Wed, 9 May 2012 17:01:58 +0530

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 and, so, Octave and gnu plots are linked up.

KM.


Dr. Krishna Mohan, T. R
CSIR Centre for Mathematical Modelling and Computer Simulation (C-MMACS)
NAL WTC Road
Bangalore 560 037, India
Tel: +91-80-2505 1927
Fax: +91-80-2522 0392



reply via email to

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