visualize

Visualize.js authentication error after second login

♀尐吖头ヾ 提交于 2020-01-02 08:11:41
问题 I have a website—utilizing Visualize.js—that has a simple login/logout feature. Everytime I login I call the authenicateUser() function and logout destroySession() . When I try login and then logout and then login again, when I try to render my existing reports I get this thrown error: HTTP Status 401 - Full authentication is required to access this resource The functions authenicateUser() and destroySession() are shown below: function authenticateUser () { var myConfig = { auth : { name :

How to visualize a sparse matrix in MATLAB?

可紊 提交于 2019-12-22 10:34:44
问题 So I have this matrix here, and it is of size 13 x 8198. (I have called it 'blah'). This is a sparse matrix, in that, most of its entries are 0. When I do an imagesc(blah), I get the following image: Clearly this is worthless because I cannot clearly see the non-zero elements. I have tried playing around with the color scaling, but to no avail. Anyway, I was wondering if there might be a nicer way to be able to visualize this matrix in MATLAB somehow? I am designing an algorithm and would

how to use black-and-white fill patterns instead of color coding on Calendar Heatmap

﹥>﹥吖頭↗ 提交于 2019-12-17 17:29:16
问题 I'm using Paul Bleicher's Calendar Heatmap to visualize some events over time and I'm interested to add black-and-white fill patterns instead of (or on top of) the color coding to increase the readability of the Calendar Heatmap when printed in black and white. Here is an example of the Calendar Heatmap look in color, and here is how it look in black and white, it gets very difficult to distinguish between the individual levels in black and white. Is there an easy way to get R to add some

Token based authentication to Jasper reports failing when used with visualize.js

空扰寡人 提交于 2019-12-12 02:52:22
问题 I am using Jasper 6.1 and configured my server to allow token based authentication. It works fine when i use token to login from browser. With the valid token, I am able to get into the system without entering username and password. Now, I am integrating it with visualize.js in order to show reports on our application's web page. Below is request call :- var authToken = encodeURIComponent("u=jsmith|r=admin|exp=20150831172506-0800|t=ABC"); visualize.config({ server: "http://localhost:8080

include jquery charts into pdf

喜你入骨 提交于 2019-12-08 13:25:34
i use tcpdf for pdf generation in php. http://www.tcpdf.org/examples.php i use a javascript / jquery framwork / plugin to display some charts. (f.e. http://filamentgroup.com/lab/update_to_jquery_visualize_accessible_charts_with_html5_from_designing_with/ ) the tcpdf intern way for charts is no opportunity for me. there is a method transforming canvas to png like described here ( Capture HTML Canvas as gif/jpg/png/pdf? ) which unfortunately does only convert, in all tested plugins/frameworks, fragments of the needed chart. tcpdf supports javascript but imo only for form interactions, like seen

include jquery charts into pdf

风流意气都作罢 提交于 2019-12-08 08:17:51
问题 i use tcpdf for pdf generation in php. http://www.tcpdf.org/examples.php i use a javascript / jquery framwork / plugin to display some charts. (f.e. http://filamentgroup.com/lab/update_to_jquery_visualize_accessible_charts_with_html5_from_designing_with/ ) the tcpdf intern way for charts is no opportunity for me. there is a method transforming canvas to png like described here ( Capture HTML Canvas as gif/jpg/png/pdf? ) which unfortunately does only convert, in all tested plugins/frameworks,

How to visualize a sparse matrix in MATLAB?

扶醉桌前 提交于 2019-12-06 01:59:00
So I have this matrix here , and it is of size 13 x 8198. (I have called it 'blah'). This is a sparse matrix, in that, most of its entries are 0. When I do an imagesc(blah), I get the following image: Clearly this is worthless because I cannot clearly see the non-zero elements. I have tried playing around with the color scaling, but to no avail. Anyway, I was wondering if there might be a nicer way to be able to visualize this matrix in MATLAB somehow? I am designing an algorithm and would like to be able to see certain things int teh matrix. Thanks! Try spy ; it's intended for exactly that.

How to show total number in same coordinate in R Programming

做~自己de王妃 提交于 2019-12-02 16:56:28
问题 (update 11/09/2017 question) this is my codes to cluster kmodes in R: library(klaR) setwd("D:/kmodes") data.to.cluster <- read.csv('kmodes.csv', header = TRUE, sep = ';') cluster.results <- kmodes(data.to.cluster[,2:5], 3, iter.max = 10, weighted = FALSE) plot(data.to.cluster[,2:5],col= cluster.results$cluster) the result is like this image : http://imgur.com/a/Y46yJ My sample data : https://drive.google.com/file/d/0B-Z58iD3By5wUzduOXUwUDh1OVU/view Is there a way to show total number in same

How to show total number in same coordinate in R Programming

馋奶兔 提交于 2019-12-02 12:05:30
(update 11/09/2017 question) this is my codes to cluster kmodes in R: library(klaR) setwd("D:/kmodes") data.to.cluster <- read.csv('kmodes.csv', header = TRUE, sep = ';') cluster.results <- kmodes(data.to.cluster[,2:5], 3, iter.max = 10, weighted = FALSE) plot(data.to.cluster[,2:5],col= cluster.results$cluster) the result is like this image : http://imgur.com/a/Y46yJ My sample data : https://drive.google.com/file/d/0B-Z58iD3By5wUzduOXUwUDh1OVU/view Is there a way to show total number in same coordinate? I mean when clustering if there are many value which is same as 1,1 (x,y) could we make r

Interpolating along the 2-D image slices

佐手、 提交于 2019-12-01 17:17:56
I have a set of 100 2-D image slices of the same size. I have used MATLAB to stack them to create a volumetric data. While the size of the 2-D slices is 480x488 pixels, the direction in which the images are stacked is not wide enough to visualize the volume in different orientation when projected. I need to interpolate along the slices to increase the size for visualization. Can somebody please give me an idea or tip about how to do it? Edit: Anotated projected microscopy-images The figure 1 is the top-view of the projected volume. The figure 2 is the side-view of the projected volume. When I