Question: Plotting in Maple

Hello there!

I'm looking for some help with my maple code ^^

Here's the problem:

 

I have 2 Arrays, A and B. A is an array of points each with its own x and y coordinate ( [[1,3],[5,4],[4,5],...] ) array B is an array of values ( [0.5,0.2,0.1,0.6,.....] ). My goal here is to plot with a dot on each of the coordinates in A with a circle around them of radius of the corresponding value in B. ( the first point [1,3] will be printed on the graph as well as a circle of radius 0.5 ).

Here's what I have tried so far, 

with(plottools):
with(plots):
for i from 1 to n do
display(circle(op(i,A),op(i,B)));
od:
 
However, this plots all the circles on seperate graphs and doesnt include the points themselves. i know that

display(c1,c2,c3,...cn); would most likely get all the circles on the same graph but i dont know the exact code to implement something like that or how i would add each of the points individually. (currently i have a pointplot(A); to show the points, perhaps i could fuse the two?)
 
Also, if possible the circles with larger radii would be thicker than the rest (to make quick interpretation easier) Is that a possibility? For even more fun times, i would like to get this to be a 3d plot with gaussian functions at each of the points with their heights corresponding to the value of B[i]. Any help on any of these points would be wonderful! Thank you! 

For any who are wondering, points in A represent possible locations for a particle to lie, and the corresponding value in B is the probability that the particle is at that given point.

P.S. As a side note, I also realized that Maple has some difficulties with recursive functions what i mean is

y:=0;
e:=[Some array];
for i from 1 to n do
y:= y + exp(x-e[i]):
od:

will often give an error like

Error, recursive assignment

What would be a way to circumvent this?

Thanks again! 
 

 

Please Wait...