Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Oscar Benjamin Newsgroups: comp.lang.python Subject: Re: graphs Date: Fri, 8 Jan 2016 15:26:26 +0000 Lines: 22 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: news.uni-berlin.de pNHN1eIbRxmISmMsOCMFYQFU64O1KlAhgLA4ZHRRAHdg== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.102 X-Spam-Level: * X-Spam-Evidence: '*H*': 0.80; '*S*': 0.00; 'cc:addr:python-list': 0.09; 'python': 0.10; 'suggest': 0.15; '2016': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'script?': 0.16; 'wrote:': 0.16; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'to:2**1': 0.21; 'please?': 0.22; 'header:In-Reply-To:1': 0.24; 'wondering': 0.25; 'message-id:@mail.gmail.com': 0.27; 'values': 0.28; 'email name:[cid:image002.jpg': 0.29; "i'm": 0.30; 'work.': 0.30; 'code': 0.30; 'e.g.': 0.30; 'certain': 0.31; 'generally': 0.32; 'run': 0.33; 'similar': 0.33; 'received:google.com': 0.35; 'something': 0.35; 'received:209.85': 0.36; 'possible': 0.36; 'volume': 0.36; 'subject:: ': 0.37; 'january': 0.38; 'received:209': 0.38; 'someone': 0.38; 'mailing': 0.38; 'mean': 0.38; 'sure': 0.39; 'does': 0.39; "didn't": 0.39; 'some': 0.40; 'your': 0.60; 'show': 0.62; 'total': 0.62; 'different': 0.63; 'wish': 0.71; 'about?': 0.84; 'oscar': 0.84; 'text-based': 0.84; 'mean.': 0.91; 'average': 0.93 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=TI3D4GyxI44Cp8F2NHsCl1bLFFOVuvyFK5KCHLj/jRo=; b=s0Si1/ZT+V6uCDt2S01SUWnADFMI5Pd0gIBiUOtRxnX6PEG6mouxcO2jk4k4cXzmMu O9Hwir1AGIUh29F/yJ8EOyPdWTKlbGDZqGfKTevO8FB0kSYfILKVyO/PVLcB+nycNLid u+6tmbG5ui02Djnm2kdD2a9jEmYDKO3AM0xmn4EPsgBPdyGiiP6E2xQX6lCXxjgC0fcW g/8hsQoAPx2nMtLDaI3ndseZ9gLUQyx7kqSZVpbXPB27l9OtxU+XPTmpKi7G68VXh/Uq JDFfzRV7Kg0ELRhNj9c98Ra2Dz4bzyF0cRmWKJGtJPv1EaZmdG3V416Ow41hX9PedomK Yhog== X-Received: by 10.112.54.193 with SMTP id l1mr39710368lbp.58.1452266805972; Fri, 08 Jan 2016 07:26:45 -0800 (PST) In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:101379 On 7 January 2016 at 15:36, Saini, Sakshi wrote: > I have a complex dataset and I wish to write a code to create different graphs from it. I was wondering if it is possible for Python/ matplotlib/ seaborn to return a cumulative or mean distribution bar graph based on values in your dataset? I'm sure that it is although I don't fully understand what you mean. > E.g. I have a certain volume in m3 for each rainfall event in mm, and I wish to plot the total volume OR average volume for different rainfall depths; somewhat like the following: This image didn't come through: > [cid:image002.jpg@01D14937.476CB2F0] This is a text-based mailing list/newsgroup so images will not generally work. > Any tips please? Which part are you unsure about? Do you know how to write and run a Python script? Do you know how to use matplotlib? If you can show some code that does something similar to what you want then I'm sure someone can suggest how to change it to do what you want. -- Oscar