Skip to main content

Professional Python Graphs for Scientific Papers

Project description

PaperViz

Data Visualisation - CRUISE Group

Leader Dr Wei Shao

Team Member Nan Gao, Zhiqiu Chen, Ying Guo, Lanzhou Jiang

Professional Python graphs for Scientific Papers

These visualisation codes show visualization modules by Seaborn and Matplotlib of Python. The codes were written by Cruise Group of RMIT University. If you want to run the codes, you need to install some other Python libraries in addition to Seaborn and Matplotlib, which have been marked in the codes section. Please refer to the following contents for details. If you're not into reading lenghty explanations at all, feel free to jump right into the commented code.

Area Chart

Code

By coloring the area between the axis and the line, the area map not only emphasizes the peaks and valleys, but also emphasizes the duration of the high and low points. The longer the high point lasts, the larger the area under the line. The stacked area plot can show the total value and item values, the percentage area chart can show the percentage of each item.

  • Multi-item area chart
  • Stacked area chart
  • Percentange area chart

Multi-item area chart Stacked area chart Precentage area chart

Bar Chart

Code

A bar chart is a classic way to visualise items based on counting or any given indicator.

  • Single item bar chart
  • Multi-item grouped bar chart
  • Error bar chart with two groups
  • Stacked bar chart with two groups

Single item bar chart Multi-item grouped bar chart Error bar chart with two groups Stacked bar chart with two groups

Bubble Plot

Code

A bubble chart is a variation of a scatter chart in which the data points are replaced with bubbles, and an additional dimension of the data is represented in the size of the bubbles. Just like a scatter chart, a bubble chart does not use a category axis — both horizontal and vertical axes are value axes.

  • Bubble chart with each bubble name and sizes
  • Multi-item bubble plot with categorical colors
  • Bubble plot with a color map

Bubble chart with each bubble name and sizes Multi-item bubble plot with categorical colors Bubble plot with a color map

Scatter Plot

Code

A scatter plot is a basic chart used to study the relationship between two variables. If you have multiple groups in your data, you might want to visualize each group in a different color.

  • Single item scatter plot with trend line
  • Multi-item scatter plot
  • Scatter plot with multi-mark

Single item scatter plot Multi-item scatter plot Scatter plot with multi-mark

Map

Code
  • Heatmap with colour bar
  • Heatmap with colour bar
  • Map with path
  • Map with path and point marked
  • Map with area filled colour (red and yellow)
  • Map with area filled colour (green and yellow)
  • World map with area marked and colour bar

Single item bar chart Multi-item grouped bar chart Error bar chart with two groups Stacked bar chart with two groups

Single item bar chart Multi-item grouped bar chart Error bar chart with two groups

Histogram

Code

A histogram is a graphical display of data using bars of different heights. In a histogram, each bar groups numbers into ranges. Taller bars show that more data falls in that range. A histogram displays the shape and spread of continuous sample data. The height can mean density or actual value.

  • Single item histogram with a density curve
  • Multi-item histogram which height means actual value
  • Stacked histogram

Single item histogram with a density curve Multi-item histogram Stacked histogram

Heatmap

Code

A heatmap is a graphical representation of data where the individual values contained in a matrix are represented as colors.

  • Heatmap with values in blue to yellow colours
Heatmap with values in blue to yellow colours

Time Series Plot

Code

Time series plots are used to show how a given metric changes over time.

  • Time series plot with maximum, minimum values and event bar
  • Time series plot with peaks and troughs
  • Time series plot with legend marked on lines
  • Time series decomposition plot

Time series plot with maximum, minimum values and event bar Time series plot with peaks and troughs Time series plot with legend marked on lines Time series decomposition plot

Line Chart

Code

A line chart or line plot or line graph or curve chart is a type of chart which displays information as a series of data points called 'markers' connected by straight line segments. It is a basic type of chart common in many fields.

  • Multi-line chart
  • Multi-item line chart with categorical colours and marks
  • Double axis line chart
  • Insetplot line chart

Multi-line chart Multi-item line chart with categorical colours and marks Double axis line chart Insetplot line chart

Pie Chart

Code

A pie chart is the classic way of displaying composition. However, it is generally not recommended now because sometimes the area of the pie would be misleading. Therefore, if you want to use a pie chart, it is highly recommended to explicitly note the percentage or number of each part in the pie chart.

  • Pie chart with outside annotation
  • Pie chart with percentage marked on and changable radius and font size
  • Pie chart with some labels exploration

pie_chart_with_outside_annotation pie_chart_with_changeable_radius_and_fontsize pie_chart_with_label_exploration

Pyramid Chart

Code

The pyramid can be used to show the distribution of groups sorted by number, or it can be used to show the step-by-step filtering of the population.

  • Pyramid with actual value annotation
  • Pyramid with sort functions

Population pyramid with annotation Population pyramid with sort function

Box Plot

Code

A box plot or boxplot is a method for graphically depicting groups of numerical data through their quartiles. Displays the five-number summary of a set of data. The five-number summary is the minimum, first quartile, median, third quartile, and maximum.

  • Multi-item box plot
  • Multi-item box plot with annotation

Multi-item box plot Multi-item box plot with annotation

Radar Chart

Code

A radar chart is a graphical method of displaying multivariate data in the form of a two-dimensional chart of three or more quantitative variables represented on axes starting from the same point. The relative position and angle of the axes is typically uninformative.

  • Radar chart with two groups
Radar chart with two groups

Violin Plot

Code

A violin plot is a method of plotting numeric data. It is similar to a box plot, with the addition of a rotated kernel density plot on each side.

  • Violin plot
  • category violin plot

Violin plot category violin plot

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

Paper-Viz-1.0.2.tar.gz (42.4 kB view hashes)

Uploaded Source

Built Distribution

Paper_Viz-1.0.2-py3-none-any.whl (56.2 kB view hashes)

Uploaded Python 3

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