How to shift overlapping curves?
Solved
g0refest
Posted messages
32
Registration date
Status
Member
Last intervention
-
eriiic Posted messages 24581 Registration date Status Contributor Last intervention -
eriiic Posted messages 24581 Registration date Status Contributor Last intervention -
Hello,
I have a fairly simple problem:
I have several curves that overlap in the same .xlsx chart (points/values very close to or even identical) and I would like them all to be fully visible in a line (but not on the same plot of course). Purists might say that this is not a very mathematical solution, but aesthetics will surely understand me ^^
PS: Changing colors, transparency, or using dotted lines is, of course, not what I am trying to do ;-)
PPS: I would also like to avoid having to alter my beautiful table by implementing "fictitious" values to create the offset.
Does anyone have a solution? Thanks a lot. =)
Configuration: Windows 7 / Firefox 18.0
I have a fairly simple problem:
I have several curves that overlap in the same .xlsx chart (points/values very close to or even identical) and I would like them all to be fully visible in a line (but not on the same plot of course). Purists might say that this is not a very mathematical solution, but aesthetics will surely understand me ^^
PS: Changing colors, transparency, or using dotted lines is, of course, not what I am trying to do ;-)
PPS: I would also like to avoid having to alter my beautiful table by implementing "fictitious" values to create the offset.
Does anyone have a solution? Thanks a lot. =)
Configuration: Windows 7 / Firefox 18.0
4 answers
-
Hello g0refest,
It's possible.
You need to add a second y-axis on the right side of your chart, assign one of your series to it, and adjust the scale of that axis.
See you later. -
Hello,
proposal with checkboxes:
https://www.cjoint.com/c/CAxuDrzl1iJ
eric
--
You will never respond to an unsolicited DM...
Well, that's done.-
-
you need to define names with a formula and use these names for the curves.
The checkbox1 is linked to G1, etc.
For each curve, define a name according to this model:
Name: series1
Refers to: =Sheet1!$B$2:$B$26+Sheet1!$G$1*Sheet1!$G$3
(if the box is checked, the value in G3 is added)
Select a curve on the chart, its formula appears at the top in the editing box.
Replace the value range (3rd parameter) with its name:
=SERIES(Sheet1!$B$1;Sheet1!$A$2:$A$26;Workbook1.xls!series1;1)
https://www.cjoint.com/c/CAxwsSJe1xE
eric -
I managed to incorporate the checkboxes with a value and I named my series - success! But I didn't quite understand how to link the values of a curve with TRUE/FALSE*VALUE (1 for example).
Is it by selecting the data source of this curve in the graph and modifying them in x or y? I systematically get an error message :-( -
No, you cannot set a name as the data source.
You need to click (left) on a curve in the chart to select it. Then you will see a formula appear in the editing area. It is in this formula that you need to replace the range from Sheet1!$B$2:$B$26 with the calculated name series1.
Once done, take the opportunity to shift it to more easily select the others.
eric -
-
-
Hello,
As for me, the only solution I can propose is to make 2 charts :).
If you really want to offset one of the two curves, apply an offset to one of your series (e.g., + 3), but it's mathematically ugly and completely wrong if you display the markers. -
Hello g0refest.
After 5 messages, you still haven't thought about submitting your file so we can test the different solution approaches...
In the meantime, may I suggest replacing the curves with histograms?
--
Retirement is great! Especially in the Caribbean... :-)
☻ Raymond ♂