Path: csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!newsfeed.eweka.nl!eweka.nl!feeder3.eweka.nl!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.014 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'andres': 0.09; 'grid': 0.09; 'units.': 0.09; 'cc:addr:python-list': 0.10; 'subject:How': 0.10; 'mon,': 0.11; 'integers.': 0.16; 'library': 0.16; '(or': 0.18; 'wrote:': 0.19; 'trying': 0.20; 'header:In-Reply-To:1': 0.22; 'message-id:@mail.gmail.com': 0.24; 'cheers,': 0.26; 'received:209.85.212.46': 0.26; 'cc:2**0': 0.26; 'points': 0.26; 'cc:addr:python.org': 0.28; 'chris': 0.31; 'lines': 0.31; 'received:209.85.212': 0.32; 'received:209.85': 0.32; 'received:google.com': 0.32; 'pm,': 0.34; 'received:209': 0.35; 'subject:with': 0.35; 'subject:?': 0.35; 'skip:d 20': 0.36; 'but': 0.37; 'subject:: ': 0.37; 'step': 0.38; 'help': 0.39; 'header:Received:5': 0.40; 'identify': 0.60; '2012': 0.62; 'sender:addr:chris': 0.84; 'to:none': 0.92 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rebertia.com; s=google; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:cc:content-type; bh=AfM88sl0J6Fcv0+9E5dvJjnVHsnQUzbOsGfMK2aDtwI=; b=AZ8ScTxOQyif3l4VXYkHJBzY2AnbrU+ND1QFXWMHlrV7oQlrtZYCUuWCGE1g6/7XYO us0FxnHIU3qUe7DoN/IVU6SNnvLjLoGKIZluSzSztB2g79caUNfzHqf9MCzusPhQII1C VLzAzDqCgnF35Y3WkZmJB/w6j2nHTz63d/UJw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:cc:content-type :x-gm-message-state; bh=AfM88sl0J6Fcv0+9E5dvJjnVHsnQUzbOsGfMK2aDtwI=; b=NZQNzzvpfzaylIk9K606p6yNC2VO4IcR59EHY0Wji/xet1cTfmSSL4R/QoAY5vtOa/ qMbkFPxlFFy9F9DKjfpE4mQ3W0yDXqUlkiU1ItrF7/IDFQSmZTy1L00ue0P0yyzdNDY9 un/acrDuu5I+yONr9R/EbFtim/AvZmuqO890uVMR5IUSNA1wMrrFuWRmpV3LgIWnc9BH AWv/ZA5lzKXxQb2fktRuDtjgxGIXeT8oNEp2+53Dz/0dJhiDWeXlJm0Q0rDPtB/NsUoM If7d5Ht9U+j/LZW604OMQtn10AOLdpN91hRuWN0rZ+2xuf8NgAThmbuaSVO8CAwiXOkq VQsQ== MIME-Version: 1.0 Sender: chris@rebertia.com In-Reply-To: <1333412071.45680.YahooMailNeo@web30604.mail.mud.yahoo.com> References: <1333412071.45680.YahooMailNeo@web30604.mail.mud.yahoo.com> Date: Mon, 2 Apr 2012 17:34:36 -0700 X-Google-Sender-Auth: cs4zkmSxrOpXmeJ-j5N5vi6NK1M Subject: Re: How I can draw the grid lines at intervals with step=1? From: Chris Rebert Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQmoamWBwRkPUoLFDs6rQq+KumH45bmXdbNNZCFhh3/6F5NNp/sBvCum+34UiW6Pp/tOLf7V X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 11 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1333413279 news.xs4all.nl 6931 [2001:888:2000:d::a6]:46174 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:22561 On Mon, Apr 2, 2012 at 5:14 PM, Andres Soto wrote: > Hi > I am trying to draw a step (or staircase) function. My points are all > integers. I would like that the grid lines help to identify the limits of > each line, but when I draw the grid, it is set each 5 units. > How can I draw the grid lines at intervals with step=1? What drawing/plotting/charting library are you using? Cheers, Chris