☰Read-only archive⌕
Looking for help with Bokeh?

This is a read-only archive. Ask questions and join the conversation on GitHub.

Visit Community Support on GitHub →
Archived discussions · Captured October 28, 2026

Drawing a sin curve , using another drawed line as a base x-axis

Community Supportbokeh
youssef_taamallah
youssef_taamallah

hello guys , im learning to use BOKEH for some interesting plotting and i was wondering if there was a way to do this :

  1. draw an inclined line with some x and y values ( simple and easy ) x[1,3,5] , y=2*x

  2. draw a sin curve , BUT … using the inclined line as a main x axis for that sin curve

so the sin curve would be inclined on top of the inclined axis

since im new to this , i didnt want to reach farther that what was possible for me , and i was wondering if any of you could give me some insight on this issue

⌁   Link to post
Bryan
Bryan

It’s not clear what you are trying to accomplish. Do you just wan to plot a representative sampling of the function 2x + sin(x) on a standard plot with standard x- and y- axes? Or do you want an actual axis drawn along the line y=2x? The former would be straightforward, the latter would not. Bokeh only currently supports orthogonal (separable) “standard” x- and y- axes at present.

⌁   Link to post

End of archived discussion · Replies are disabled