Cubic Function would be a simple Excel X Range and Y range with a formula
As there are thousands of combinations of Cubic Graphs, you could setup a template if you were consistently going to use a standard layout, but if the scale of the graph is variable it would need some spiffy VBA which I am not game to tackle
Programs like Mathmatica would be better of used to tackle those