help-octave
[Top][All Lists]
Advanced

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

Re: How to prevent Aquaterm plotting from command-line processing?


From: Ben Abbott
Subject: Re: How to prevent Aquaterm plotting from command-line processing?
Date: Sun, 11 Dec 2011 18:48:19 -0500

On Dec 11, 2011, at 4:52 PM, John Helly wrote:

> Hi.
> 
> This is a puzzle.  I'm running a script I've run many time without this 
> happening but now I am getting Aquaterm plots to the console while running a 
> bash script that invokes octave.  The plot syntax I'm using is like this:
> 
> figure;
> hold on;
> xlabel('Easting (m) [UTM11N]');
> ylabel('Northing (m) [UTM11N]');
> plot(X_START,Y_START,'*','color','blue')
> plot(X_START,Y_START,'color','blue')
> text(X_START+300,Y_START,TRANSECT);
> plot(MOP_Easting, MOP_Northing,'color','red')
> text(MOP_Easting(1)+300, MOP_Northing(1),INPUT_MOP_STATION,'color','red');
> hold off;
> FIGURE=strcat(OUTPUT_HOME,'/Profile_Map/',INPUT_MOP_STATION,'.ModelBeachProfileLocation.pdf');
> print('-dpdf',FIGURE)
> 
> Since I'm writing to a file (*.pdf), I don't understand why octave is 
> suddenly using aquaterm to plot to the terminal.  It produces hundreds of 
> plots so this is a real problem for me.
> 
> Thanks.
> 
> Cheers.

I've not encountered this before. Can you create a simple example that others 
can try?

Ben




reply via email to

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