Message Boards Message Boards

How can I convert the amplitude of sin(x)+1 to grayscale and plot?

Posted 14 days ago

How can I convert the amplitude of sin(x)+1 to grayscale and plot?

Attachment

Attachments:
POSTED BY: Haiyin Sun
2 Replies

Yes, it works now. Thank you Bill for helping.

POSTED BY: Haiyin Sun
Posted 14 days ago

See if you can adjust this to get closer to what you want

DensityPlot[Sin[x]+1,{x,0,3Pi},{y,0,Pi},ColorFunction->GrayLevel,PlotPoints->100]
POSTED BY: Bill Nelson
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract