HideX configures the X axis so that it will not be drawn.
()
| 458 | |
| 459 | // HideX configures the X axis so that it will not be drawn. |
| 460 | func (p *Plot) HideX() { |
| 461 | p.X.Tick.Length = 0 |
| 462 | p.X.Width = 0 |
| 463 | p.X.Tick.Marker = ConstantTicks([]Tick{}) |
| 464 | } |
| 465 | |
| 466 | // HideY configures the Y axis so that it will not be drawn. |
| 467 | func (p *Plot) HideY() { |