Christopher2222

MaplePrimes Activity


These are replies submitted by Christopher2222

@pagan I have a bad habit of initially building code with lists in loops. 

I probably should have done it more like this

a := table():
i := 1:
while i < 100 do
   ba := (rand(-15 .. 15))():
   bb := (rand(-15 .. 15))():
   b := evalf(sqrt(ba^2+bb^2)):
   if b <= 15 and b >= 10 then a[i] := [ba, bb]:  i := i+1:  end if:
end do:
plots:-pointplot(convert(a,list));

ScatterPlot, I see is the example I wanted. 

How about a scatterplot around the circle x^2+y^2=5^2 ?

ScatterPlot, I see is the example I wanted. 

How about a scatterplot around the circle x^2+y^2=5^2 ?

I'll provide more info as it might be lacking.  Produce a graph of points that will have a probability that they will most likely fall onto a sin(x) curve

Maybe a picture of a few thousand points will better help the meaning. 

Ah, the tricks of the trade.  Thanks

Ah, the tricks of the trade.  Thanks

Option to select which axes contains the labels in 3d style=boxed mode

During manual rotation of a plot style=box, the labels of the axes switches around (front to back, top to bottom, left to right) depending on how the graph is orientated. 

I would like the option to anchor the axis, say for example at the origin 0,0,0.  Pehaps an anchor axes option.  And even also have the option to specify where I want the labelled axes to stay ie. have the x axis labels be displayed on the upper y and lower z boundary axis (sorry if I'm mixing up the axis / axes but I think you get the idea).

Let's even go so far as to make a syntax suggestion.  Something like:

plot3d(x^2,axis=(anchor=true,axislocation=[[uppery,upperz],[lowerx,upperz],default]))

#anchor=false is default but plot is created as specified if axislocation values exist.

Or even add the option to something that already exists say  axis1 =[location=[uppery,lowerz],anchor=true]
in the case 2 axis are specified then axis1,2 = [location = [[uppery,upperz],[lowerx,lowerz]],anchor=true]

Well, my syntax suggestions might be a bad idea, but I think the general idea of being able to stop the labelled axes from jumping around has been brought up before.

Dennis Ritchie wrote a great C programming language book which a lot of programmers still use as an excellent reference.  Co-authored with Brian Kernighan -  The C programming Language second edition, it was and still is a valuable resource for programming in C.  I am sure some Maple users already own a copy.

 

It is a bit confusing, well maybe not, but tricky maybe is the right word.

However, it wouldn't be too hard to whip up a user defined proc.  Acer, that is a good example that explains a possible messy situation where you could end up with 1C+1C=548.3K and not the 275.15 it should be.

 

 

It is a bit confusing, well maybe not, but tricky maybe is the right word.

However, it wouldn't be too hard to whip up a user defined proc.  Acer, that is a good example that explains a possible messy situation where you could end up with 1C+1C=548.3K and not the 275.15 it should be.

 

 

It is perhaps a bug in the units package?

Interestingly

with(Units[Standard]):
11[[degC]]
-------------
11[[kelvin]]

                                  1

So it appears the units package equates kelvin to degC

 

Enable the Find/Replace option to work for math mode

It is possible one may want to find where the occurance of, for example, cos appears in a worksheet for whatever the reason.  If cos is not displayed in text mode, a "no matches found" message appears, even though it may appear in the worksheet 10 times.  It's almost counterintuitive. 

Although the help page explicitly states that The Find feature does not search content in 2-D Math notation , it would be nice if it did. 

Is it wise to load something like this into maple?  or is it always better to use a text editor first?

Of course with garbled characters it is unlikely maple would be able to execute something malicious but I don't know.  Usually Maple asks for autoexecuting permission. 

Incidentally the first time I loaded this into Maple the confirmation box this worksheet was created with a newer version of maple do you wish to continue (yes) and a blank worksheet came up with nothing saying there was problems (this made me think something executed)

Second time I loaded it, there were problems loading your worksheet message came up. 

I don't think there is anything to worry but I am curious.  Thoughts?

Thanks acer! 

Thanks acer! 

First 111 112 113 114 115 116 117 Last Page 113 of 162