pyvttbl logo

Table Of Contents

Previous topic

interaction_plot

Next topic

scatter_matrix

This Page

scatter_plot

Produces a scatter_plot with optional trend fitting

Example

>>> df=DataFrame()
>>> df.read_tbl('data/iqbrainsize.txt', delimiter='\t')
>>> df.scatter_plot('TOTVOL', 'FIQ')

produces ‘scatter(TOTVOL_X_FIQ).png’

scatter(TOTVOL_X_FIQ).png

Example with power trend fit

>>> df.scatter_plot('TOTVOL', 'FIQ', trend='power')

produces ‘scatter(TOTVOL_X_FIQ,trend=power).png’

scatter(TOTVOL_X_FIQ,trend=power).png
This software is funded in part by NIH Grant P20 RR016454.
© Copyright 2012, Roger Lew. Created using Sphinx 1.1.3.