Group Abstract Group Abstract

Message Boards Message Boards

0
|
1.8K Views
|
2 Replies
|
2 Total Likes
View groups...
Share
Share this post:

Nonlinear x sampling in DiscretePlot?

Posted 3 years ago
DiscretePlot[x,{x,0,10,1}]

What if I want to have a nonlinear x sampling, like one going denser as x->10?

POSTED BY: a a
2 Replies

You can give a list of values of x where to draw the points:

DiscretePlot[x, {x, Log[Range[E, E^10, 300 E]]}, 
 PlotRange -> {{0, 10}, {0, 10}}]
POSTED BY: Gianluca Gorni
Posted 3 years ago

Thank you. That's cool.

POSTED BY: a a
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard