[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Plotting on mac
From: |
Ben Abbott |
Subject: |
Re: Plotting on mac |
Date: |
Wed, 09 May 2012 08:30:28 -0400 |
On May 9, 2012, at 7:31 AM, Dr. Krishna Mohan, T. R wrote:
> 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.
The image you're trying to display is 176259x100 pixels.
This is creating a problem for gnuplot (not gnu plot, as gnuplot is not a GNU
project).
If you reduce the image size by ...
a = s(1:100:k2,1:100);
... then it should work.
Ben
- Plotting on mac, Dr. Krishna Mohan, T. R, 2012/05/09
- Re: Plotting on mac,
Ben Abbott <=
- Re: Plotting on mac, Dr. Krishna Mohan, T. R, 2012/05/10
- Re: Plotting on mac, Michael D Godfrey, 2012/05/10
- Re: Plotting on mac, Daniel J Sebald, 2012/05/11
- Re: Plotting on mac, Michael D Godfrey, 2012/05/11
- Re: Plotting on mac, Dr. Krishna Mohan, T. R, 2012/05/11
- Re: Plotting on mac, Michael D Godfrey, 2012/05/11
- Re: Plotting on mac, Daniel J Sebald, 2012/05/11