- Minitab Cookbook
- Isaac Newton
- 344字
- 2021-07-16 12:29:24
Adding a secondary axis to a time series plot
Time series plots and scatterplots can be used with a secondary axis. Here, we will use the Oxford weather station's data to plot the temperature and hours of sunlight on the same chart. Temperature
will be displayed on the left y axis; Sun(Hours)
will be displayed on the right axis.
Getting ready
As done in the previous recipe, we will use the Oxford weather station's data. See the details in the Creating a time series plot recipe. Most of the steps in this example will be similar to the time series plot instructions, except the use of the multiple time series plots instead of a single one.
How to do it…
Let's get started with the steps that would help us add a secondary axis to a time series plot:
- Go to the Graph menu and select Time Series Plot….
- Select the Multiple chart.
- Enter the column for mean maximum temperature and the column for hours of sunlight into the section labeled Series:.
- Follow the steps in the previous example to add the year and month on the x axis, and for the condition to display only the results from 2000 onwards, that is, from step 4 to step 9.
- The graph should appear as shown in the following screenshot:
- Double-click on the y axis to edit the scale as indicated on the screenshot.
- From the Edit y axis options, choose the Secondary tab and use the dropdown to put the hours of sunlight column on the Secondary axis, as shown in the following screenshot:
How it works…
Multiple charts that are overlaid are displayed on the same graph. When the scales are very different, as in this case where temperatures are in degree Celcius and sunlight hours in hours of sunlight in a month, then one response can appear disproportionate to the other. The secondary axis allows independent scaling of both axes while using the same x axis.
This can be a useful tool to display correlations in the data.
- Microsoft Dynamics GP 2016 Cookbook
- 一本書(shū)學(xué)內(nèi)部審計(jì):新手內(nèi)部審計(jì)從入門(mén)到精通
- 中國(guó)新股民必讀手冊(cè)(2015年最新版)
- 汪博士詳解PMP?模擬題(第4版)
- Citrix XenApp? 7.5 Desktop Virtualization Solutions
- Securing Hadoop
- SAP ABAP Advanced Cookbook
- 基本有用的計(jì)量經(jīng)濟(jì)學(xué)
- 財(cái)務(wù)建模與綜合估值:數(shù)據(jù)研磨、模型校準(zhǔn)、動(dòng)態(tài)估值
- 行政單位經(jīng)濟(jì)責(zé)任審計(jì)實(shí)務(wù)指南
- 內(nèi)部控制審計(jì)功能與質(zhì)量
- 統(tǒng)計(jì)學(xué)理論前沿(谷臻小簡(jiǎn)·AI導(dǎo)讀版)
- Getting Started with Citrix? Provisioning Services 7.0
- 審計(jì)定價(jià)問(wèn)題研究
- 審計(jì)實(shí)務(wù)