问题标签 [visualize]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
2 回答
368 浏览

emf - Ecore/EMF 可视化

我需要可视化一个 ecore 元模型的实例。我有一个现有的 ecore 类图表,它代表我的元模型。创建模型部分的动态实例后,我得到一个 XMI 文件。我想以与在 Eclipse 编辑器中可视化 ecore 类图表相同的方式可视化该文件。希望你能帮我

0 投票
1 回答
206 浏览

javascript - 如何在 window.onbeforeunload 期间调用函数

我在这里阅读了很多关于如何拦截窗口关闭和弹出对话框的示例。我需要一些不同的东西。在我的页面关闭或更改之前,我需要调用和完成一个函数。

我在下面更新了我的代码,以帮助更好地解释我的问题。

0 投票
0 回答
565 浏览

javascript - Jasper Reports table column filter data with multiple values through Visualize JS

Last few days I was trying to integrate Jasper Reports to a application using Visualize JS.I have functionality to implement filter the Jasper Report column data by multiple values.The jasper report table has country column.

For example I have to filter records using user given texts. enter image description here

So I have found an example in Visualize JS documentation and it is used only for one given text.

I have to implement this with multiple text values as given previous picture. I have tried to put 'Country1','Country2' in value element and it does not filter the table as I expected.It gives empty result table, so it takes the filter text as one value.

0 投票
1 回答
7831 浏览

numpy - 如何可视化或绘制多维张量?

我想知道这里是否有人曾经尝试过在 numpy 中可视化多维张量。如果是这样,你能和我分享一下我会怎么做吗?我正在考虑将其简化为 2D 可视化。

我已经包含了一些示例输出。它的结构很奇怪,有省略号“...”,它有一个 4D 张量布局 [[[[ content here ]]]]

样本数据:

0 投票
2 回答
137 浏览

python - 从 csv 文件中绘制一个带有数千个 python 条目的图

我在 python 中有这段代码,它正在工作。

和 .csv 文件(几乎 18000 个条目):

所以,当我运行代码时,我得到了这个结果:在此处输入图像描述

问题是我希望 [-2,2] 的 y 轴上的值按升序排列,以便观察情节线的路线。我将这种 csv 可视化的理由是错误的,还是我错过了一些重要的事情?我将不胜感激任何帮助。

0 投票
1 回答
82 浏览

r - 在 R 中可视化不同的二进制矩阵

假设我在 R 程序中有两个二进制矩阵。

这里AB是两个不同社交网络的邻接矩阵。如何在同一个图中以不同的颜色可视化上述两个矩阵?

情节将是这样的: x 轴和 y 轴有三个用户。和的散点将AB绘制成不同的颜色。

0 投票
2 回答
1155 浏览

matlab - 如何在 MATLAB 中绘制三阶张量

大小为 (100,100,100)的张量a和所有元素主导对角线。

如何用零显示aMATLAB是白色,一个是黑色。我在 MS 办公室绘图,这就是我想要的预期图像

对于矩阵情况,我们可以可视化如下

并且图像是 二维矩阵可视化

如何为张量做类似的事情?

以及如何用噪声来可视化张量?像矩阵上的噪音这里

0 投票
2 回答
339 浏览

single-sign-on - 无法使用 Visualize.js 使用 Keycloak SSO 令牌登录

我需要将报告/仪表板从 Jasper 服务器导入到由 Keycloak 保护的 Web 应用程序。我很难将 Jasper Server v7.1.0 与 Keycloak 2.0.0Final 集成,但我无法使用 Keycloak 访问令牌获得 Visualize.js 会话。

两个应用程序都在同一个 Keycloak 客户端下注册,因此 SSO 令牌理论上足以对两个应用程序(我们的应用程序和 Jasper 服务器)进行身份验证。

在进行身份验证时,我们如何在 Visualize.js 中包含令牌类型作为承载?

就像是:

0 投票
2 回答
1833 浏览

python - Weird behavior of barplot from python matplotlib with datetime

Hello guys, I am just starting with the matplotlib in transition from matlab to python. However, I encountered weird behavior of matplotlib as it is not able to display the data along with the datetime element. My question here would be the output of both bar plot yield two different results.

enter image description here

The first one directly convert the data into some kind of continuous data where as the second one more like categorical data. Do anyone encountered similar problem as mine and dont mind share their way of approaching this?

P/s: i tried seaborn and it works but somehow does not play well with dual axis plotting. I also googled for similar issue but somehow not such issue?

0 投票
0 回答
374 浏览

javascript - 在我的 d3 美国地图可视化中向每个州添加圆圈

我希望通过使用显示每个状态的页面浏览量的圆圈来可视化一个额外的维度。这就是我的想法:在此处输入图像描述

这是我到目前为止所拥有的:

https://github.com/akassem97/usMapViz/blob/master/finalWork/visualization1.html

因为你们都需要数据集来查看可视化,所以我包含了整个 repo。这是它现在的样子:在此处输入图像描述

我似乎找不到使用我正在使用的 topojson 添加到 svg 的方法。