Skip to main content

Interface to Autoplot Java library

Project description

Autoplot/Python Interface Tools

Install using pip install autoplot

from autoplot import javaaddpath, toDateTime

# Download autoplot.jar if needed and return Python bridge object
org = javaaddpath('http://autoplot.org/jnlp/latest/autoplot.jar')

# Create Autoplot Data Set
apds = org.autoplot.idlsupport.APDataSet()

# Set URI
apds.setDataSetURI('http://autoplot.org/data/swe-np.xls?column=data&depend0=dep0')

# Get the data
apds.doGetDataSet()

print(apds.toString())

# Extract data values
vv = apds.values()
tt= toDateTime( apds, 'dep0' )

from matplotlib import pyplot as plt
plt.plot(tt,vv)
plt.show()

Contact

Jeremy Faden <faden@cottagesystems.net>

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

autoplot-0.1.0.tar.gz (3.3 kB view details)

Uploaded Source

File details

Details for the file autoplot-0.1.0.tar.gz.

File metadata

  • Download URL: autoplot-0.1.0.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for autoplot-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b460ff2450934338fdeadd08fe65759d6bcb14a4541e0c8af73b0ed1a095a7a1
MD5 6ca366026f59b2fff99005c9c229dd6a
BLAKE2b-256 380098b6257f660e57051a3f3e66aa38fbc2ed67f5e27eef690b9d8ea1e6d8be

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page