Les nouveautés et Tutoriels de Votre Codeur | SEO | Création de site web | Création de logiciel

Seo Master present to you:

We recently came across a great use of the Visualization Platform. In fact, this is something that we never thought the platform would be used for.

Steve Aitken, a developer contributing to the Visualization Developer Group, created a simple graphics calculator for Javascript-supported math functions that plots functions using the Google Visualization Scatter Chart. Here is a screenshot of a simple calculation of -sin(2x):



Steve has been kind enough to share the code with us (even though it was originally written for his girlfriend). A slightly modified version is pasted below:
<html>
<head>
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">
google.load("visualization", "1", {packages:["scatterchart"]});
function drawChart(equation,xmin,xmax, numPoints, pointSize) {
var data = new google.visualization.DataTable();
data.addColumn('number', 'x');
data.addColumn('number', 'y');
data.addRows(numPoints);
var step = (xmax-xmin) / (numPoints-1);
for(var i = 0; i < numPoints; i++)
{
var x = xmin + step * i;
data.setValue(i,0,x);
with(Math) {
var y = eval(equation);
}
data.setValue(i,1,y);
}
document.getElementById("chart_div").innerHTML = "";
var chart = new google.visualization.ScatterChart(
document.getElementById('chart_div'));
chart.draw(data, {width: 600, height: 400, titleX: 'X',
titleY: 'Y', legend: 'none', pointSize: pointSize});
}
</script>
</head>

<body>
equation: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
<input id="txteq" type="text" value="-sin(2*x)" />
<br />
minimum value(x): &nbsp;<input id="txtmin" type="text" value="-3.14" />
<br />
maximum value(x): &nbsp;<input id="txtmax" type="text" value="3.14"/>
<br />
Precision (number of points): &nbsp;<input id="precision" type="text" value="1000"/>
<br />
Point size: &nbsp; <input id="pointSize" type="text" value="2"/>
<br />
<input id="Button1" type="button" value="Draw Graph"
onclick="javascript:drawChart(
document.getElementById('txteq').value,
parseFloat(document.getElementById('txtmin').value, 10),
parseFloat(document.getElementById('txtmax').value, 10),
parseInt(document.getElementById('precision').value, 10),
parseInt(document.getElementById('pointSize').value, 10))" />

<div id="chart_div"></div>
</body>
</html>

We thank Steve for the inspiration and would love to see more creative uses of the platform from you.

The Visualization Team


2013, By: Seo Master
Seo Master present to you:

Social bookmarking is a method for Internet users to organize, store, manage and search for bookmarks of resources online. Unlike file sharing, the resources themselves aren't shared, merely bookmarks that reference them.

"Social bookmarking" allows you to save
and
share links to your favorite stories, tools, blogs
and communities on iVillage, like creating a "Favorites" menu that you can access from anywhere, and that you can allow friends to see.

What is social bookmarking? It is tagging a website and saving it for later. Instead of saving them to your web browser, you are saving them to the web. And, because your bookmarks are online, you can easily share them with friends.

What Can Social Bookmarking Do For Me? :

Not only can you save your favorite websites and send them to your friends, but you can also look at what other people have found interesting enough to tag. Most social bookmarking sites allow you to browse through the items based on most popular, recently added, or belonging to a certain category like shopping, technology, politics, blogging, news, sports, etc.

Social Media

The best way to define social media is to break it down. Media is an instrument on communication, like a newspaper or a radio, so social media would be a social instrument of communication.

In Web 2.0 terms, this would be a website that doesn't just give you information, but interacts with you while giving you that information. This interaction can be as simple as asking for your comments or letting you vote on an article, or it can be as complex as Flixster recommending movies to you based on the ratings of other people with similar interests.

Think of regular media as a one-way street where you can read a newspaper or listen to a report on television, but you have very limited ability to give your thoughts on the matter.

Social media, on the other hand, is a two-way street that gives you the ability to communicate too.

2013, By: Seo Master



Artikel ini hanya sekedar sekilas info: Facebook Akhirnya Menggeser Peringkat Alexa Google  -- Setelah sekian lama kita melihat pada alexa toolbar Facebook menempati peringkat nomor dua, akhirnya sekarang facebook menjadi nomor satu versi pengguna alexa toolbar. Google pun harus tersingkir ke peringkat nomor dua Alexa Rank. Ini adalah fakta yang sangat menarik bagi para blogger yang berburu
Powered by Blogger.