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


Groups > cz.comp.lang.python > #3163

Re: [python] Pynomo

Path csiph.com!goblin1!goblin2!goblin.stu.neva.ru!newsgate.cuhk.edu.hk!news.netfront.net!.POSTED.94.23.32.179!not-for-mail
From zu1234 <zu1234@seznam.cz>
Newsgroups cz.comp.lang.python
Subject Re: [python] Pynomo
Date Sun, 19 Mar 2017 11:28:20 +0100
Organization Netfront http://www.netfront.net/
Lines 73
Message-ID <mailman.16.1489919305.4242.python@py.cz> (permalink)
References <002001d2a03e$34193750$84d810ac@IBMXP> <a89e609d-2059-91d7-2ed7-6b7b5deb0e1c@seznam.cz>
Mime-Version 1.0
Content-Type text/plain; charset=iso-8859-2; format=flowed
Content-Transfer-Encoding 8bit
Injection-Info adenine.netfront.net; posting-host="94.23.32.179"; logging-data="26348"; mail-complaints-to="news@netfront.net"
User-Agent Mozilla/5.0 (Windows NT 6.1; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
To Konference PyCZ <python@py.cz>
Received-SPF pass (Address passes the Sender Policy Framework) SPF=MAILFROM; sender=zu1234@seznam.cz; remoteip=::ffff:77.75.77.23; remotehost=; helo=mxc2.seznam.cz; receiver=hugo.zagamma.cz;
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=seznam.cz; s=beta; t=1489919302; bh=6owvwtfC7zGiWcOueGt0hy8rB/KbJzKxi60iDSCe4fo=; h=DKIM-Signature:Received:Subject:To:References:From:Message-ID: Date:User-Agent:MIME-Version:In-Reply-To:Content-Type: Content-Transfer-Encoding; b=UKLX+eq5iWPKaRcw8Cp2TcJ88SU9REjrFZyelVqIzuO0nxFrhCnW4i/fJ2QDw5Fzb wCwwbs/Dy0HhmF6b5yrTSOoDRp1jAb6NKy9WjM/lf/Z3pMRcXMOwURjTyJR0vjqhh8 sACazGct61e9wQSnmqAMZmfg0MnEZwbt1nh2m7cw=
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=seznam.cz; s=beta; t=1489919302; bh=6owvwtfC7zGiWcOueGt0hy8rB/KbJzKxi60iDSCe4fo=; h=Received:Subject:To:References:From:Message-ID:Date:User-Agent: MIME-Version:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=Qa2sCDMfAXymVi2XFbl13NwHF3HgAQ3e8oDBwBn/MBfS1j3qGwHjcczuLRD+m4+Mk 2E+yXMTy3L843N0QXZd3cAPzWf9ldrJIfnsbuDx3UE+9p3r6aP7REgRsOqg3qYTXVg 6K0ZZ93h/7rUOAJ9X0/VONLdPrLoDULDvTGl9YQw=
In-Reply-To <002001d2a03e$34193750$84d810ac@IBMXP>
X-BeenThere python@py.cz
X-Mailman-Version 2.1.23
Precedence list
List-Id Konference PyCZ <python.py.cz>
List-Unsubscribe <http://www.py.cz/mailman/options/python>, <mailto:python-request@py.cz?subject=unsubscribe>
List-Archive <http://www.py.cz/pipermail/python/>
List-Post <mailto:python@py.cz>
List-Help <mailto:python-request@py.cz?subject=help>
List-Subscribe <http://www.py.cz/mailman/listinfo/python>, <mailto:python-request@py.cz?subject=subscribe>
X-Mailman-Original-Message-ID <a89e609d-2059-91d7-2ed7-6b7b5deb0e1c@seznam.cz>
X-Mailman-Original-References <002001d2a03e$34193750$84d810ac@IBMXP>
Xref csiph.com cz.comp.lang.python:3163

Show key headers only | View raw


Pěkné!

Dne 19.3.2017 v 0:20 Jaroslav Lukesh napsal(a):
> Zdar,
>
> chtěl jsem si udělat nomogram na spotřebu v autě a asi by to bylo 
> rychlejší udělat jako kalkulačku s jednočipem, kroutítkem a displejem.
>
> Isopleth ukazuje úplně někam mimo, dvě osy jsou sražené.
>
> Pískoviště tady: http://46.101.125.20:8080/
>
> Dík, JL.
>
> import sys
> sys.path.insert(0, "..")
> from pynomo.nomographer import *
>
> N_params_1={
>        'u_min':3.0,
>        'u_max':33.0,
>        'function':lambda u:u,
>        'title':r'$u_1$',
>        'tick_levels':3,
>        'tick_text_levels':1,
>                }
>
> N_params_2={
>        'u_min':3.0,
>        'u_max':8.0,
>        'function':lambda u:u,
>        'title':r'$u_2$',
>        'tick_levels':3,
>        'tick_text_levels':1,
>                }
>
> N_params_3={
>        'u_min':100.0,
>        'u_max':700.0,
>        'function':lambda u:u,
>        'title':r'$u_3$',
>        'tick_levels':3,
>        'tick_text_levels':1,
>                }
>
>
> block_1_params={
>             'block_type':'type_1',
>             'width':10.0,
>             'height':10.0,
>             'f1_params':N_params_1,
>             'f2_params':N_params_2,
>             'f3_params':N_params_3,
>            # 'isopleth_values':[[16,4,'x'],[16,5,'x'],],
>             }
>
> main_params={
>              'filename':'ex_type2_nomo_1.pdf',
>              'paper_height':10.0,
>              'paper_width':10.0,
>              'block_params':[block_1_params],
>              'transformations':[('rotate',0.01),('scale paper',)],
>              'title_str':r'$u_2\times u_3\times 0.01 = u_1$'
>              }
> Nomographer(main_params)
>
> _______________________________________________
> Python mailing list
> python@py.cz
> http://www.py.cz/mailman/listinfo/python
>
> Visit: http://www.py.cz

Back to cz.comp.lang.python | Previous | Next | Find similar


Thread

Re: [python] Pynomo zu1234 <zu1234@seznam.cz> - 2017-03-19 11:28 +0100

csiph-web