Plotting Graphs with Domain & Range as Integers

  • Thread starter Thread starter Dustinsfl
  • Start date Start date
  • Tags Tags
    Maple
Click For Summary
SUMMARY

The discussion focuses on plotting graphs with integer domains and ranges using the plot command in Maple. The user seeks a method to restrict the graph to integer values rather than continuous functions. The provided example, plot(x^3, x=-3..3);, generates continuous graphs, which do not meet the user's requirements. A resource link to a Maple tutorial is also shared for further reference.

PREREQUISITES
  • Familiarity with Maple software for mathematical plotting
  • Understanding of graphing functions and their domains
  • Basic knowledge of integer vs. real number concepts in mathematics
  • Experience with plotting commands in programming languages
NEXT STEPS
  • Research how to use the discrete plot function in Maple
  • Explore integer domain and range plotting techniques in Python with Matplotlib
  • Learn about graphing piecewise functions in Maple
  • Investigate the use of grid settings in graphing software to restrict values
USEFUL FOR

Mathematicians, educators, and students who need to plot discrete functions or integer-based graphs in Maple or similar software.

Dustinsfl
Messages
2,217
Reaction score
5
I am trying to plot a graph with the domain and range as integers. So instead of a continuous function, I will have points only plotted on the integers.

Does anyone know how to do this?
 
Physics news on Phys.org
Graphs
The plot command may be used to plot simple graphs,
plot( x^3, x=-3..3); ......

Read http://www.rose-hulman.edu/~rickert/Classes/ma111/maple1.html"
 
Last edited by a moderator:
Those will yield all continuous graphs. The domain and range of the function I am using are integers not real numbers so I need a calling method that will only plot at the integers.
 

Similar threads

  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
Replies
3
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K