delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/02/28/14:49:15

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 tests=AWL,BAYES_05,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4D6BFC2B.2070902@lysator.liu.se>
Date: Mon, 28 Feb 2011 20:48:59 +0100
From: Peter Rosin <peda AT lysator DOT liu DOT se>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: GNUPLOT in Cygwin: Terminal type set to 'unknown'
References: <31001313 DOT post AT talk DOT nabble DOT com> <AANLkTi=m9QJfEDTncT19kwn5pgGRJBB9Mj895DCsjeN2 AT mail DOT gmail DOT com>
In-Reply-To: <AANLkTi=m9QJfEDTncT19kwn5pgGRJBB9Mj895DCsjeN2@mail.gmail.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Den 2011-02-24 14:00 skrev Keith Christian:
> There is lots of additional good gnuplot info on the WWW.
> 
> Fast answer:
> 
> gnuplot> set terminal dumb
> Terminal type set to 'dumb'
> Options are 'feed  size 79, 24'
> gnuplot> plot sin(x)
> 
> A (crude) graph of sin(x) should now be on the terminal screen, or if
> you're using X, then it will appear in an X window.

You could also use "set terminal ggi" to get a prettier graph without
using X.

Close the window by pressing 'q'.

If you want a different size window, you can use the environment
variable GGI_DEFMODE when starting gnuplot. See "man libggi" for
more details.

E.g.

$ GGI_DEFMODE=600x300 gnuplot

Cheers,
Peter

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019