CARVIEW |
Select Language
HTTP/2 200
accept-ranges: bytes
access-control-allow-origin: *
age: 0
cache-control: max-age=600
content-encoding: gzip
content-type: text/html; charset=utf-8
date: Mon, 28 Jul 2025 08:01:11 GMT
etag: W/"687e6266-7761"
expires: Mon, 28 Jul 2025 08:11:11 GMT
last-modified: Mon, 21 Jul 2025 15:53:10 GMT
server: Vercel
strict-transport-security: max-age=63072000
vary: Accept-Encoding
via: 1.1 varnish
x-cache: MISS
x-cache-hits: 0
x-fastly-request-id: 1b44e9dd0433f333aed1f8902dae8738dcf24384
x-github-request-id: 32B0:136C38:1D7C4F:231155:68872E47
x-proxy-cache: MISS
x-robots-tag: index
x-served-by: cache-bom-vanm7210077-BOM
x-timer: S1753689671.155281,VS0,VE227
x-vercel-cache: MISS
x-vercel-id: bom1::2rsz6-1753689671066-a7b0be1b99cb
content-length: 7894
Log plots in JavaScript
Log Plots in JavaScript
How to make a plot with D3.js-based logarithmic axes in javascript.
Plotly Studio: Transform any dataset into an interactive data application in minutes with AI. Sign up for early access now.
var trace1 = {
x: [0, 1, 2, 3, 4, 5, 6, 7, 8],
y: [8, 7, 6, 5, 4, 3, 2, 1, 0],
type: 'scatter'
};
var trace2 = {
x: [0, 1, 2, 3, 4, 5, 6, 7, 8],
y: [0, 1, 2, 3, 4, 5, 6, 7, 8],
type: 'scatter'
};
var data = [trace1, trace2];
var layout = {
xaxis: {
type: 'log',
autorange: true
},
yaxis: {
type: 'log',
autorange: true
}
};
Plotly.newPlot('myDiv', data, layout);
