HideY configures the Y axis so that it will not be drawn.
()
| 465 | |
| 466 | // HideY configures the Y axis so that it will not be drawn. |
| 467 | func (p *Plot) HideY() { |
| 468 | p.Y.Tick.Length = 0 |
| 469 | p.Y.Width = 0 |
| 470 | p.Y.Tick.Marker = ConstantTicks([]Tick{}) |
| 471 | } |
| 472 | |
| 473 | // HideAxes hides the X and Y axes. |
| 474 | func (p *Plot) HideAxes() { |