Here is the issue:
X has 0 - 8
I need them to start bottom left corner, and also you see all the legends stop on same vertical line but need to be at different stop points so in theory X and Y need to have 0 - 8 and then draw the legend / items from 0,0 to the X,Y set point so if 4.54 X and Y should be 4.54.
Anyone have any ideas? I have added screenshot below.
I tried and managed to get something like this, but it's not quite right. I need to start 0,0 (bottom left) and have straight lines up until the right value by X and Y
UPDATE
I have also attempted a point value system which think might help. Although a point 0.00 value series I guess is required, I need to set the display like it is on the left just showing 0 - 8 and same for bottom but working on the 0.00 series basis?
I really can't imagine what you want to achieve by this. What you want to do is basically drawing eight y = x lines on the SAME plane, which is visually meaningless. As far as I can tell from what you provide, your last try is right approach. You just need to edit the X-axis format. I made something similar based on 0.1 point system. Under this approach, I had to MANUALLY edit each series' ranges, which was also painful.
Related
I'm trying to create a scatter straight line chart to visually show how a retaining wall looks in elevation view. I have a top of wall dimension and bottom of wall dimension and the length of each wall section. I am able to use the top and bottom of wall dimension but having trouble showing the length of the run. I have tried to add the wall length as another data point, but doesn't work, it just skews the other two points. Tried to use a cumulative run length, helper column, but couldn't get that value to populate the x axis properly. I added some notes in red in the image below. Spent a few hours and appreciate any help.
I perhaps wouldn't use excel for diagramming this, but I think you would need to add more points and interpolate the values. If your minimum wall length is 25, then you could use 25 as your base. Wall 1 is 100, so you need 4 points (100 / 25). Wall 3 is 150 so you need 6 points. Plus 1 point for each wall to accommodate start/stop.
For missing values in wall 1 top, you would take (230-224.3)/4 = 1.425. Then add 1.425 to the value above it.
It would look something like this:
And this would need to be a line chart, where column A can represent the X-axis for labeling.
I'm trying to create an Excel chart in VBA with time on the X axis and bearing angles (from North) on the Y axis. This looks fine most of the time except where the sample of data is dealing with Northerly bearings. In this case, we might get a sample with bearing values of 000.1, 000.2, 359.9, 359.8, 000.5 etc.. The chart Y axis then stretches from 0 to 360 with data at the bottom and data at the top with a lot of empty space in between. Is there any way that the Y axis can be configured to either restart at zero when it reaches 360 or split into two so that for example, it covers the range 0 to 5 and then the range 355 to 360?
I'm simply asking whether this is feasible or not. I don't want to get too busy with coding just yet if it's a non-starter.
EDIT: - a couple of images to try and explain the problem. One image shows the sample of bearings to be around 90 degrees and it produces a nice Y axis. The second image shows the sample of bearings to be around 359-360 degrees with the odd one in the middle at 0 degrees
For the sample with Bearings around 360, I would like to be able to either "rollover" the Y axis back to 0 as it reaches 360 or have a split Y axis such that the section between 5 degrees and 355 degrees is not visible.
You need to mess with your data. Suppose the times are in A2:A41 and the angles in B2:B41. Plotting columns A and B works fine unless the values are on either side of 360.
Put a test formula in E1:
=AND(MAX(B2:B41)>350,MIN(B2:B41)<10)
This tells us that some values are close to 0 and some close to 360.
Enter this formula in cell C2 and copy it down to C41:
=IF(AND($E$1,B2<10),B2+360,B2)
This adds 360 to any small value if the large values are near 360.
Finally, plot columns A vs C.
Below are two pairs of charts where I've implemented this, one not close to 360 and one close to 360.
I've made a chart with Excel 2010's "Combo" option for chart type so I can plot two data series for the same depth points. The image below shows the default, which is very close to what I want - except I would like to have the axes flipped so that the current X axis, which is depth, is displayed as the Y axis and both primary and secondary current Y axes plot as X axes. In other words, I'd like to rotate the chart area by 90 degrees clockwise. The "Switch Row/Column" doesn't do what I want (or expect) and I'm running out of both ideas and patience. Is there an easy fix? Or a hard fix?
Here's the plot as-is:
And here's a dummy plot of the end goal made by rotating the image around in Paint, in case the picture makes it clearer:
Finally, as was pointed out in the comments, the whole thing looks goofy and might be better plotted as a bar graph with two bars. I tried this as well and came away almost all set - but the gray bars plot from left to right and the blue bars plot from right to left. Seems like it should be as simple as changing the "Plot Series On" option to Primary Axis for both, but this destroys the graph.
I looked around and I think this link has instructions for what you're looking for: https://superuser.com/questions/188064/excel-chart-with-two-x-axes-horizontal-possible
I'm searching for a XY plot/diagram that give me the ability to make sp lines/curved lines and where I can set the maximum limit of either X or Y values.
I want to make a XY diagram that in the end should look like this visually:
Is it possible with androidplot?
It sounds like you're wanting to constrain the visible graph area to specific min/max values on both the x and y axis.
In Androidplot 1.0 or later, this code will set your display boundaries on each axis to the range of -1 to 1.
plot.setDomainBoundaries(-1, 1, BoundaryMode.FIXED);
plot.setRangeBoundaries(-1, 1, BoundaryMode.FIXED);
As far as the more general question of whether or not it's possible to style a plot to look like that picture - definitely; you should be able to make a plot that's virtually identical.
I have 3 columns of data, eg:
http://i.stack.imgur.com/XjGmu.jpg
When Excel creates a line graph of this, the blue line is what i get.
This is not correct because the time stamp shows the time when something is switched on (255) or off (0) (could also be the current state eg 16:08). So I'd like a graph like this - see the red line (with a time-based X axis off course):
http://i.stack.imgur.com/vNvPk.jpg
Anyone can help? Thanks
As #Jon49 indicated, you need to plot additional data points--two y values for each x value: one to plot the point at y=255 and one to plot y=0.
If the time-span of the data is at least a few days, you can use a line chart. But in your case since the values are within a day, the scatter chart with straight lines is the only option due to the limitations of the scale units for line charts.
The key is the values need to be in the correct order. Each y=255 value needs to be followed by the next time-stamp's 255 value followed by it's 0 value, followed by the next time-stamp's 0 value:
Excel doesn't support this type of discrete value graph (at least not excel 2k3 that I am using); your best bet is to use a bar graph and then go into the settings and set the gap width down to zero.
Not sure what the best way is but I would automate what I describe below on how to do (unless this is a one time deal, then just brute force it):
Separate the 255s from the 0s. Make sure for every 0 time there is a corresponding 255 time. Take the zero times and put in a scatter plot then add a y-error bar and make the fixed value equal to 255. Format to how you like it.
Now for the 255s. Add those to the chart by pairs. Make the chart type for these pairs scatter plot with a line. Format how you would like them to look.
Let me know if that doesn't make sense to you.