Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #43209

retrieving data from a plot in python.

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!novso.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <silideba@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.063
X-Spam-Evidence '*H*': 0.88; '*S*': 0.00; 'skip:[ 20': 0.04; 'suppose': 0.07; 'agrees': 0.09; 'subject:plot': 0.09; 'subject:python.': 0.16; 'file.': 0.24; 'asking': 0.27; 'array': 0.29; 'points': 0.29; 'message-id:@mail.gmail.com': 0.30; 'text': 0.33; 'subject:from': 0.34; 'received:google.com': 0.35; 'subject:data': 0.36; 'two': 0.37; 'skip:[ 10': 0.38; 'to:addr :python-list': 0.38; 'previous': 0.38; 'to:addr:python.org': 0.39; 'save': 0.62; 'connecting': 0.64; 'between': 0.67; '100': 0.79; 'plotted': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=a3RImbsFTxn2jhX2tWn+YOTg+Ng5kxWUBdoJAK5uysM=; b=mTc3copxTLUevLUGcNEUQJiOPqkSMIYzFkYLaetWGEBneAF77OpQQ3FpAABeHYlmxN 9wUtR62hnmDXd4xjuYzQA4HFFxIfZSKBVDOXx/bDuHe9k3hj2+87g66WJEFSgdlAAb2y ZrtvIlaYDNAIj7JSqZe/76DyhcJyYA7JceWQHfWR6EzKbemNKRKHJ6Ek/1m84uBjReIU JOUnbZT14+PgQu45qrRJltDDRECgRBJJxmWzMpAe2sEOduQ3jCpTEYCkDFUmAFDDR1zL 9wWz5joJ+7M+A3N2pkUoPifi8gmu/h2OBw9Ds1jhwkPfApz4I4FdoBSS6TTulNUAYxpY Qo/Q==
MIME-Version 1.0
X-Received by 10.112.59.68 with SMTP id x4mr5174951lbq.121.1365528795250; Tue, 09 Apr 2013 10:33:15 -0700 (PDT)
Date Tue, 9 Apr 2013 23:03:15 +0530
Subject retrieving data from a plot in python.
From Debashish Saha <silideba@gmail.com>
To python-list@python.org
Content-Type multipart/alternative; boundary=e89a8f9219a6c5858204d9f0f2d9
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.373.1365529239.3114.python-list@python.org> (permalink)
Lines 47
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1365529239 news.xs4all.nl 2636 [2001:888:2000:d::a6]:50535
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:43209

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

suppose I have t= [0,7,10,17,23,29,31] f_t= [4,3,11,19,12,9,17] and I have
plotted f_t vs t.

Now from this 7 data points plotting if I want to retrieve 100 data points
and save them in a text file. What do I have to do?

What I am asking is not a fitting of the plot. I know between two points
plot is linear.

What I am asking If I create a array like t=np.arange(0,31,.1) ,then what
is the corresponding array of f_t which agrees well with the previous
plot,i.e,for any t between t=0 to t=7, f_t will be determined by using a
straight line connecting (0,4) and (7,3) and so on.

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

retrieving data from a plot in python. Debashish Saha <silideba@gmail.com> - 2013-04-09 23:03 +0530
  Re: retrieving data from a plot in python. Grant Edwards <invalid@invalid.invalid> - 2013-04-09 17:58 +0000

csiph-web