Jump to content

2 way error bars on scatter plot


ldto
Go to solution Solved by Olivier Keugue Tadaa,

Recommended Posts

Hi,

I am attempting to add error bars to a scatter plot of my collected experimental data. Both axes have a sensitivity to the same variable; therefore, the error should be shown on both axes.

However I am running into an issue of error bars only being able to show on aggregated axis, this presents a problem as aggregating both axis will aggregate my scatterplot to 1 point.

I can aggregate one of the axis and get error bars on that:

image.thumb.png.db02db22ab6cf7030d8419280264311f.png

 

 Here is when both are aggregated, the error bars are there however it all becomes one point:

image.thumb.png.08a7070ed00ceaa5b262dec696a6ad76.png

 

I have tried using marker by Row number however this removes the aggregation and we are back to square one.

 

Hope anyone can help with this :)

 

My data looks like this,

 

image.thumb.png.512a8c14ab80962a194b83f90a747bec.png

 

 

Best,

Louis

Link to comment
Share on other sites

Posted (edited)

Hi David,

Thank you for taking the time.

The workaround I have found is to aggregate both axes and make a calculated column using Rowid() and Use Marker By on that. However, this still fails when adding a display name for the axes titles 

Here is the dxp if you can help enlighten me on what is happening in the background that is causing the issue

 

On the CpCpCq tab you need to filter by one V_0 at a time with BEM Elec and Mech all included and on the next 2 filter our Mech and BEM and use all 3 V_0s

 

Best,

Louis

Dataplots.dxp

Edited by ldto
Link to comment
Share on other sites

  • Solution

Hi Idto,

 

I think the issue is related to the way you define your upper and lower errors 

Here is a simple setting that I've done 

image.thumb.png.ec7a57d9ca58b5cfd9d249c80aa5cf4b.png

 

and I can display the below without any further need for aggregation (I've reverted the "marker by" to its default (Row Number) or baserowid() ...) 

image.thumb.png.3ee2b7ecd64c51c0c226859e0774e029.png

I believe you need to review your upper and lower error values and make sure they are relevant to your data in the x-axis and y-axis 

I hope this helps

Dataplots.dxp

Link to comment
Share on other sites

Hi Olivier,

Thank you very much, im not quite sure what I did differently the first time but it seems to work now, thank you!

The errors provided need to be differenced with the magnitude of the reading that point; sorry if that may have been a bit confusing

Best,

Louis

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...