canvasXpress icon indicating copy to clipboard operation
canvasXpress copied to clipboard

Is there a way to mix Scatter2D and line charts?

Open grapecaptain opened this issue 3 years ago • 1 comments

Hi. I am trying to Visualize the correlation between DNA methylation and gene expression results using canvasXpress.

This is the chart i want. I want to express the results to be obtained from correlation analysis.

image

and this is the actual result by scatter2D chart

image

image

Although the correlation function is built-in, the slope is different from the result on the left that I analyzed. So I'm looking for a way to mix Scatter2D and line charts, for display an independent line chart in a Scatter2D chart.

Is there any way do it?

thanks.

grapecaptain avatar Dec 24 '21 07:12 grapecaptain

You can any decoration you want look at this example: https://canvasxpress.org/examples/scatter2d-13.html The lines are drawn defining x and y coordinates

neuhausi avatar May 20 '22 11:05 neuhausi