Apr 25, 2017 - 4 Answers. Click somewhere on the chart to select it. You should now see 3 new tabs appear at the top of the screen called 'Design', 'Layout' and 'Format'. Click on the 'Design' tab. There will be a button called 'Switch Row/Column' within the 'data' group, click it. The other day I got a question from Todd, an EngineerExcel.com subscriber. He uses Excel to create charts of cam position, velocity, and acceleration. The industry-standard way of graphing this data is to include all three curves on the same chart, like in the image below. The challenge is that all three curves have very different scales, with acceleration being the smallest. This makes it hard to view the acceleration curve on the chart without a unique axis. So he wanted to know if there was a way to add a third axis to a scatter chart in Excel. Unfortunately, there isn’t, but we can fake one by creating another data series with a constant x-value, like I’ve done in the image below. [Note: Want to learn even more about advanced Excel techniques? In the three-part video series I'll show you how to easily solve engineering challenges in Excel.聽] It’s not a perfect solution, but to my knowledge, it’s the best we can do in Excel with the currently available toolset. Select a Scaling Factor and Scale the Data Excel allows us to add a second axis to a scatter chart, we’ll use this for velocity and acceleration. Game booster for mac software. However, we’ll want to scale the acceleration data so that it fills the chart area. To do this, I entered an appropriate scaling factor in the spreadsheet and created a new column of scaled acceleration data by multiplying the original acceleration data by the scaling factor. Decide on a Position for the Third Y-axis The third y-axis (which will really be a data series) will be on the chart area, so it has to cross the x-axis at some point. I picked a value of 285 degrees, since the position, and therefore the velocity and acceleration, are zero beyond this point. Of course, we can always change this later. Select the Data for the Chart Next, the angle, position, velocity, and scaled acceleration data. I put the velocity and scaled acceleration data on the secondary axis of the chart. The scaled acceleration data could have been on the primary axis. In that case, I would have had to use a different scaling factor. I also added some color to the axes and axis labels for clarity. Create Three Arrays After inserting the chart, I created three arrays: • An array of the x-axis values for the third “y-axis” • An array of unscaled values that are roughly on the same order of magnitude but also fully encompass the original acceleration data. Ps2 emulator mac os x. For example, the range of acceleration data was from ~-0.0005 to ~0.0005. So I chose -0.001 and 0.001 as limits • An array of scaled (calculated) values, using the scaling factor from above. ![]() These arrays were used to create the third y-axis in the next step. [Note: Want to learn even more about advanced Excel techniques? In the three-part video series I'll show you how to easily solve engineering challenges in Excel.聽] Create an “axis” with a fourth data series Next, I added a fourth data series to create the third “axis”. The x-values for the series were the array of constants and the y-values were the unscaled values. I also modified the line style to match the weight of the other gridlines, added markers (the kind that look like plus signs), and changed the color of the line and marker to match the data series (green).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |