MCPcopy Create free account
hub / github.com/plotly/plotly.js / drawSectionZ

Function drawSectionZ

src/traces/isosurface/convert.js:843–860  ·  view source on GitHub ↗
(style, items, min, max, distRatios, previousResult)

Source from the content-addressed store, hash-verified

841 }
842
843 function drawSectionZ(style, items, min, max, distRatios, previousResult) {
844 var result = [];
845 var n = 0;
846 for(var q = 0; q < items.length; q++) {
847 var k = items[q];
848 for(var j = 1; j < height; j++) {
849 for(var i = 1; i < width; i++) {
850 result.push(
851 beginSection(style, i, j, k, min, max, distRatios[q],
852 (previousResult && previousResult[n]) ? previousResult[n] : []
853 )
854 );
855 n++;
856 }
857 }
858 }
859 return result;
860 }
861
862 function createRange(a, b) {
863 var range = [];

Callers 1

drawAllFunction · 0.85

Calls 1

beginSectionFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…