Skip to main content
added 64 characters in body
Source Link
Szabolcs
  • 238.9k
  • 32
  • 653
  • 1.3k

Use:

domain := {n, 0, 10}; Plot[n, Evaluate[domain]] 

Plot has the HoldAll attribute which prevents domain from evaluating:

Attributes[Plot] {HoldAll, Protected} 

Use:

domain := {n, 0, 10}; Plot[n, Evaluate[domain]] 

Plot has

Attributes[Plot] {HoldAll, Protected} 

Use:

domain := {n, 0, 10}; Plot[n, Evaluate[domain]] 

Plot has the HoldAll attribute which prevents domain from evaluating:

Attributes[Plot] {HoldAll, Protected} 
Source Link
user21
user21

Use:

domain := {n, 0, 10}; Plot[n, Evaluate[domain]] 

Plot has

Attributes[Plot] {HoldAll, Protected}