Giving Plot options defined outside of the Plot expression

You can use

Plot[x, {x, 1, 2}, Evaluate@graphs]

Why?

The reason Plot[x, {x, 1, 2}, graphs] doesn't work and ListPlot[Table[x, {x, 1, 2, .01}], graphs]does is that Plot has attribute HoldAll ("all arguments (..) maintained in an unevaluated form")

Attributes[Plot]

{HoldAll, Protected, ReadProtected}

whereas ListPlot doesn't:

Attributes[ListPlot]

{Protected, ReadProtected}


You can also use With because it makes the needed substitution before Plot sees any of its arguments.

options = {ImageSize -> Full, Frame -> True};
With[{opts = options}, Plot[x, {x, 1, 2}, opts]

plot