English 中文(简体)
Which multi-axes, multi-scale plotting tool to use?
原标题:

I am looking for plotting tools capable of using more than one or two vertical axes with different scales, like for instance:

alt text
(source: mathworks.com)

The goal is to plot several time series with different ranges in a same plot. For instance, I could have:

  • Time series 1 with range [-1, 1]
  • Time series 2 with range [-10, +10]
  • Time series 3 with range [0, 1500]
  • Time series 4 with range [0.5, 0.9]

Ideally I could plot each time series in its own axis with its own range, as shown in the image.

Which tools or libraries do you know that can do this?

Note: this question is related to this one, but I m looking for more possibilities than Matlab.

最佳回答

You can do this in R. See this R-wiki page for an example.

This can also be very easy using the doubleYScale function, as in these examples.

问题回答

According to the GNU plot, you can have upto 2 axii on GNU plot per chart.

Pretty sure you could do this in matplotlib

Failing that there are a lot of links on that wikipedia page for other plotting libraries.

matlab can do this

not sure if this what you want, but ZedGraph supports multiple axes. it s a .net component, so you d have to write some code to get the data in there, but it s very easy to use.

MathGL can plot with multiple axis (see this sample). It is GPL (LGPL for core) library.





相关问题
R zoo series sliding window calculation

Given I have a zoo dataset, I d like to perform a sliding operation against it with the result being another zoo dataset. > x Y (09/24/09 08:00:13) 3.1 (09/24/09 08:05:13) 4....

How to parse milliseconds?

How do I use strptime or any other functions to parse time stamps with milliseconds in R? time[1] # [1] "2010-01-15 13:55:23.975" strptime(time[1], format="%Y-%m-%d %H:%M:%S.%f") # [1] NA strptime(...

Information criterions in exp smoothing models

What are the numbers of parameters to be penalized for when using information criterions(BIC or AIC or..) for selecting the best models? Let s say that we have 3 models: 1. Simple exponential ...

Standard error of the ARIMA constant

I am trying to manually calculate the standard error of the constant in an ARIMA model, if it is included. I have referred to Box and Jenkins (1994) text, specially Section 7.2, but my understanding ...

Which multi-axes, multi-scale plotting tool to use?

I am looking for plotting tools capable of using more than one or two vertical axes with different scales, like for instance: (source: mathworks.com) The goal is to plot several time series with ...

Multivariate time series modelling in R

I want do fit some sort of multi-variate time series model using R. Here is a sample of my data: u cci bci cpi gdp dum1 dum2 dum3 dx 16.50 14.00 53.00 45.70 80....

热门标签