Hi ,
i am new to mathgl.
currently i am drawing a graph using Axis() and Grid(). and i am settting a transformation formula for x-coordinate ( gr->SetFunc("lg(x)",""); )
also i am setting range like (gr->SetRanges(10,20000,85,125);))
i am setting range like above just to support log calculations based on transformation formula .
But my x-axis values starts from 20..
i want to know how do i crop/clip/remove the remaining part in x-axis after setting the origin from (gr.SetOrigin(20,0);)
any small code snippet will be of great help...!!!!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi ,
i am new to mathgl.
currently i am drawing a graph using Axis() and Grid(). and i am settting a transformation formula for x-coordinate ( gr->SetFunc("lg(x)",""); )
also i am setting range like (gr->SetRanges(10,20000,85,125);))
i am setting range like above just to support log calculations based on transformation formula .
But my x-axis values starts from 20..
i want to know how do i crop/clip/remove the remaining part in x-axis after setting the origin from (gr.SetOrigin(20,0);)
any small code snippet will be of great help...!!!!