Register to reply

Plots over Z in mathematica and maple

by axeae
Tags: maple, mathematica, plots
Share this thread:
Jun20-07, 12:50 PM
P: 70
im sorta new to using maple and mathematica for number theoretical functions, is there any way I can plot the values of an integer defined function in either of these programs? thanks
Phys.Org News Partner Science news on
Flapping baby birds give clues to origin of flight
Prions can trigger 'stuck' wine fermentations, researchers find
Socially-assistive robots help kids with autism learn by providing personalized prompts
Jun20-07, 01:08 PM
Sci Advisor
HW Helper
P: 4,300
There are probably numerous ways to do this in Mathematica (not familiar with Maple). The simplest I can think of right now is: make a table of the values you want and use ListPlot to display them.

For example


The first line defines your function (I suppose you already have that). In the second line, Range creates a list {1, 2, 3, 4, 5} and then maps each element to the function. The result is a list {F[1], F[2], ..., F[5]} which is then sent to ListPlot for display.

Hope that helps :)
Jun20-07, 04:31 PM
P: 70
thats perfect, thanks a lot

Register to reply

Related Discussions
3D Data Plots in Mathematica 5.2 Math & Science Software 0
Maple/Mathematica Help Math & Science Software 1
Maple contour plots from an array Math & Science Software 0
Mathematica - Joining Plots Math & Science Software 0
Maple plots Math & Science Software 0