plotting geometric objects. Sci-lab [closed] - scilab

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Improve this question
By using Sci-lab I need to draw triangle cicrle and rectangular (separately, of course). the most difficult for me is triangle, I have no idea how to plot them

Plotting is rather trivial. See the plot command reference.
There are shorter ways, but for easiest understanding just plot the three sides as three lines.
For instance if you have a triangle with the corner coordinates at (x,y) = [0,0],[5,10],[10,0]. Plot three lines between these points.
plot([0,5],[0,10])
plot([5,10],[10,0])
plot([0,10],[0,0])

Related

cdf for Dirichlet distribution [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I want to run an estimation assuming that my variables are distributed according to the Dirichlet distribution. To do so, I need to use the cdf function. For all the distributions in R, there are the respective r,p and d functions that produce random variables, pdf and cdf.
Nevertheless, for the Dirichlet, I can only find the random number generator and the pdf.
Is there a similar package for R that gives the cdf?
Many thanks,

Symbol mathematics special in R [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I want to find a list of symbols specials in R, for exemple:
\042
\044
\136
\305
\341
Where is it, please?
Acctualy, i want find the code of symbol ∈ .
I'm unfamiliar with R, but this website helps me with escape symbols. Your posted character, ∈, is \u2208 .

How to Calculate Circumference of Pipe with Specified Pitch [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
How to Calculate Circumference [Perimeter] of a Pipe [Cylinder shape] with Specified Pitch?
Actually I want to find the length of thread to wind a pipe.
Is there any formula or formula name I can refer?
What you are looking for is the perimeter of an ellipse which is rather an ugly thing (see: http://www.mathsisfun.com/geometry/ellipse-perimeter.html). Your minor axis is the diameter of the pipe. The major axis is the hypotenuse of the right triangle formed from 1/2 of your pitch.

How to plot 3D time series in R [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Is there a package in R that allows me to plot multiply time series next to each other 3D?
Like in the following examples:
http://farm6.staticflickr.com/5142/5619005462_5eab3c8cdd_b.jpg
http://synoptic.weaintplastic.com/
Thanks
Have you checked out chartSeries3d0 from the quantmod package?
Here's an example I found on quantmod.com:
library(quantmod)
source("http://www.quantmod.com/examples/chartSeries3d/chartSeries3d.alpha.R")
getSymbols("DGS1MO;DGS3MO;DGS6MO;DGS1;DGS2;DGS3;DGS5;DGS7;DGS10;DGS20;DGS30",src="FRED")
TR <- merge(DGS1MO,DGS3MO,DGS6MO,DGS1,DGS2,DGS3,DGS5,DGS7,DGS10,DGS20,DGS30, all=FALSE)
colnames(TR) <- c("1mo","3mo","6mo","1yr","2yr","3yr","5yr","7yr","10yr","20yr","30yr")
TR <- na.locf(TR)
chartSeries3d0(TR["2011"])

Use scripting language to generate Zipf-like samples [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Is there any scripting language function (like in python or bash) that samples from a zipf-like distribution, for exponent 0<a<=1. Zipf-like distribution p(a) can be found, here.
PS: I am aware of existence of numpy function that can generate zipf samples, but it's only for a >1.

Resources