Group Abstract Group Abstract

Message Boards Message Boards

0
|
1.9K Views
|
1 Reply
|
1 Total Like
View groups...
Share
Share this post:
GROUPS:

Distance between dots on graphic

Posted 6 years ago

Hello,

I faced with an issue. I need to set up distance between dots on function's graphic(not x and y). I use Wolfram Matematica. My screenshot is in attachment.

Thank you!

Attachment

Attachments:
POSTED BY: Olha Olevska
Posted 6 years ago

Hi Olha,

It would be better if you posted the code you are using rather than an image. Assuming you are using ListPlot with a list of values, you can sample evenly spaced values from the list. e.g.

data = Range[10]
(* {1, 2, 3, 4, 5, 6, 7, 8, 9, 10} *)

data[[;; ;; 2]]
(* {1, 3, 5, 7, 9} *)

Then plot the sampled list.

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