ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Kolotov Alexandr <akmypost@mail.ru>
To: community@altlinux.ru
Subject: Re: [Comm] gnuplot and python
Date: Thu, 19 May 2005 12:23:20 +0400
Message-ID: <428C4CF8.6040708@mail.ru> (raw)
In-Reply-To: <428B27FE.6010809@ricom.ru>

> def show_graph():
>      g = Gnuplot.Gnuplot()
>      g('set terminal png')
>      g.title('A simple example')
>      g('set data style linespoints')
>      g.plot([[0,1.4], [1,5.8], [2,3.3], [3,4.2]])
>      g.show()
хм... странно...
может тогда объект создавать вне функции, вызывать функцию как функцию, 
а не как процедуру, и g.show() делать также вне функции?

-- 
С уважением, Kolotov Alexandr aka mr. Эбола
              отвечать: akmypost@mail.ru
                   ICQ: 100349254

    ---------------------------------------
   |  Registered Linux user       # 236664 |
    ---------------------------------------



  reply	other threads:[~2005-05-19  8:23 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-17 11:24 Alexey Morsov
2005-05-17 11:26 ` Michael Isachenkov
2005-05-17 11:33   ` Alexey Morsov
2005-05-18  7:22     ` Alexey Morsov
2005-05-18  9:48       ` php-coder
2005-05-18 10:07         ` Alexey Morsov
2005-05-18 10:49           ` php-coder
2005-05-18 11:33             ` Alexey Morsov
2005-05-19  8:23               ` Kolotov Alexandr [this message]
2005-05-19 15:20                 ` Alexey Morsov
2005-05-19  8:28               ` Kolotov Alexandr

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=428C4CF8.6040708@mail.ru \
    --to=akmypost@mail.ru \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git