## 38 Reputation

15 years, 24 days

## This was grade 4 not age 4. Phil Yasskin...

This was grade 4 not age 4.

Phil Yasskin

## Thanks, So it is under development....

I was unaware of the MultiSeries package which is obviously addressing these kinds of problems.

My hope is that most of this functionality will eventually be incorporated into the standard asympt, series, limit and assume commands, because students blindly accept answers and may be unaware of when they need to bring in a more powerful package.
Thanks

Phil

## Plot default vertical range...

In designing a 2D or 3D plot it would be nice to be able to know the default vertical range before or inside the plot command. It would be useful for padding the plot. Here's a 2D example of the code I would like. First, access before the plot command:

> rng:=DefaultVerticalRange(x^2+3,x=-2..3):
> hgt:=rng[2]-rng[1]:
> lrng:=min(0,rng[1]-0.1*hgt):
> rrng:=max(0,rng[2]+0.1*hgt):
> plot(x^2+3,x=-2..3,lrng..rrng):

Second, 2 versions of access inside the plot command:

> plot(x^2+3,x=-2..3,min(0,DefaultRangey[1]-0.1*(DefaultRangey[2]-DefaultRangey[1]))..max(0,DefaultRangey[2]+0.1*(DefaultRangey[2]-DefaultRangey[1]))):

> plot(x^2+3,x=-2..3,view=[default,min(0,DefaultRangey[1]-0.1*(DefaultRangey[2]-DefaultRangey[1]))..max(0,DefaultRangey[2]+0.1*(DefaultRangey[2]-DefaultRangey[1]))]):

There are other uses for knowing this. For example you might want to reflect the graph through a horizontal line at the top of the plot. or rotate about a point at the center of the plot. For some purposes a DefaultHorizontalRange and a DefaultRangex might also be useful. For that, you might want to allow the argument to be a full plot structure such as the result of a display command.

Phil Yasskin

## Stereo 3D plots...

It would be nice to have an option in the in 3D plots to have stereo viewing with 2 color glasses. A sample can be seen at

http://www.math.tamu.edu/~yasskin/maplets/stereo/

The worksheet to produce these is available on that page. I used a rudimentary method of taking a 3D plot and rotating it by Pi/72=2.5deg about the z-axis and changing the color. A correct implimentation would need to know the current viewing angle produced by dragging with the mouse, and then rotate about the current vertical axis.

A correct implimentation has been done in Java by Paul Seeburger at Monroe Community College at his page

http://web.monroecc.edu/manila/webfiles/calcNSF/JavaCode/CalcPlot3D.htm

## Mentor Doug...

Congrats. It's well deserved.

## Sockets...

Your Sockets method seems much more basic. I assume it works for POST too.

Thanks,

Phil

## Sockets...

Your Sockets method seems much more basic. I assume it works for POST too.

Thanks,

Phil

## HTTP:-SendRequest...

With verboseproc=2, eval(HTTP) shows that SendRequest is local to the module. It is not exported. So eval(HTTP:-SendRequest) and showstat( HTTP:-SendRequest, 10 ) give nothing. Is there a way to see the whole HTTP module including the SendRequest command?

Phil

## HTTP:-SendRequest...

With verboseproc=2, eval(HTTP) shows that SendRequest is local to the module. It is not exported. So eval(HTTP:-SendRequest) and showstat( HTTP:-SendRequest, 10 ) give nothing. Is there a way to see the whole HTTP module including the SendRequest command?

Phil

## Thanks all, Works in 11.02 and 12, Class...

Thanks all for the replies.

I tried things:

The command

Get("http://www.math.tamu.edu/~yasskin/");

works in 11.02 and 12 both Classic and Standard but the help page only exists in 11.02 standard. And you have to have the quotes.

The command

Get("http://www.math.tamu.edu/~yasskin");

returns
301, "<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<title>301 Moved Permanently</title>
<h1>Moved Permanently</h1>
<p>The document has moved <a href="http://www.math.tamu.ed\
u/~yasskin/">here</a>.</p>
<hr>
</body></html>"
1) There are no headers, even though the help says there will be. Why not?

2) Also it appears you have to have the final /.

## Thanks all, Works in 11.02 and 12, Class...

Thanks all for the replies.

I tried things:

The command

Get("http://www.math.tamu.edu/~yasskin/");

works in 11.02 and 12 both Classic and Standard but the help page only exists in 11.02 standard. And you have to have the quotes.

The command

Get("http://www.math.tamu.edu/~yasskin");

returns
301, "<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<title>301 Moved Permanently</title>
<h1>Moved Permanently</h1>
<p>The document has moved <a href="http://www.math.tamu.ed\
u/~yasskin/">here</a>.</p>
<hr>
</body></html>"
1) There are no headers, even though the help says there will be. Why not?

2) Also it appears you have to have the final /.

## Using And and Not in types...

Thanks! Where is that documented? Phil

## Using And and Not in types...

Thanks! Where is that documented? Phil
 Page 1 of 1
﻿