Home » DataWarrior » Functionality » X = Y line in plot
X = Y line in plot [message #433] Thu, 13 December 2018 02:28 Go to next message
abc123 is currently offline  abc123
Messages: 7
Registered: October 2018
Junior Member
How would we draw an X = Y line on a 2D plot.
Re: X = Y line in plot [message #434 is a reply to message #433] Sat, 15 December 2018 11:02 Go to previous message
thomas is currently offline  thomas
Messages: 247
Registered: June 2014
Senior Member
there is straight-forward way of doing that. You may show a fitted line that goes through your data.

Or you may cheat a little by adding two rows with points 0,0 and e.g. 100,100. Then introduce a new column. Put an 'A' in all the rows, except for the two new row, which receive a 'B'. In a 2D-scatter plot set marker color to reflect the new column and in 'Statistical View Options' select 'Fitted Line' and 'Spli by color category'. The you will have two lines, the fitted through your data and the X=Y.

Another alternative is to show a background picture with e.g. Gimp that contains the X=Y line.

Of course, both solutions are workarounds that may or may not work in your case...
Previous Topic: Case sensitivity in merge function
Next Topic: Why is clustering limited up to 10000 molecules?
Goto Forum:

Current Time: Tue Dec 10 03:42:01 CET 2019

Total time taken to generate the page: 0.00280 seconds