7,089 questions
            
            
            0
            votes
        
        
            0
            answers
        
        
            11
            views
        
    How to apply visualization for each node in OMNet++?
                I have created a network of nodes in OMNet++. I have defined in Network.ned:
visualizer:  <default(firstAvailableOrEmpty("IntegratedCanvasVisualizer"))> like IIntegratedVisualizer if ...
            
        
       
    
            0
            votes
        
        
            0
            answers
        
        
            39
            views
        
    flow_view function low resolution
                I am trying to visualize a large function via a flow diagram. I am trying to use the function flow_view() from the package: flow. This is working as intended, but I am not able to save the diagram in ...
            
        
       
    
            3
            votes
        
        
            1
            answer
        
        
            37
            views
        
    How do I generate a faceted plot with equal x and y axis spacing on each facet, while allowing different facet scale limits?
                I want to generate a faceted ggplot with the following properties
Each facet can have different scale limits (e.g. facet 1 might be taking values from 0-5, while facet 2 might be taking values 100-...
            
        
       
    
            0
            votes
        
        
            0
            answers
        
        
            24
            views
        
    Figure captions and numbering in Rmarkdown when rendering to html [duplicate]
                When knitting my rmarkdown file as a pdf, the fig.cap option that I have set at the beginning of each chunk that creates a plot ends up being a nicely formatted piece of text, with automatically ...
            
        
       
    
            1
            vote
        
        
            1
            answer
        
        
            19
            views
        
    Why do my stat_slab bars disappear when applying a colour palette to them?
                I'm trying to visualise ordinal data with the following structure:
library(ggdist)
library(ggplot2)
library(dplyr)
data(long_data)
srss_question1 <- long_data %>%
  filter(type == "1"...
            
        
       
    
            -1
            votes
        
        
            0
            answers
        
        
            27
            views
        
    How to plot a smooth decision boundary for a binary classifier using a neural network?
                I am trying to implement a simple neural network to classify a circular dataset and plot a smooth decision boundary. However, my decision boundary is not smooth or incorrect. I want it to look like ...
            
        
       
    
            2
            votes
        
        
            1
            answer
        
        
            35
            views
        
    How can I fix the labels and lines on this radial chart?
                I'm trying to create something for my next presentation. It's about average waiting time for a line in a store. I'm using R and ggplot. This is the data and the code that I'm using.
## Data
Store = ...
            
        
       
    
            0
            votes
        
        
            1
            answer
        
        
            28
            views
        
    Sorting does not work after adding a new major model and sub-models
                My previous question can be found at Deneb (Vega-lite) - Sorting Axis.
The answer from davidebacci helped me sort the sub-models in my dataset with only one major model.
After I've added a new major ...
            
        
       
    
            1
            vote
        
        
            0
            answers
        
        
            59
            views
        
    is there a limit (data, resolution, or some other parameter) in png devices in R
                I am using the biosurvey package trying to run a function (biosurvey::explore_data_EG) that plots 4 panels, which specifically for me are 2 large map rasters at 1km resolution for Canada, 1 biplot ...
            
        
       
    
            0
            votes
        
        
            0
            answers
        
        
            47
            views
        
    Exporting coeftable to stargazer for regression table
                I am working with regression models of a class not supported by stargazer.
Below is the model I am working with:
data(mtcars)
model.fixest <- feols(mpg ~ hp + drat + wt, data=subset(mtcars))
I can ...
            
        
       
    
            0
            votes
        
        
            0
            answers
        
        
            8
            views
        
    Regression table with objects of different class
                I want to create a regression table using stargazer but with objects of different type. The challenge is that one of the models is a fixest class object, which is not supported by by stargazer.
I ...
            
        
       
    
            1
            vote
        
        
            1
            answer
        
        
            25
            views
        
    Deneb (Vega-lite) - Sorting Axis
                I am attempting to sort my Y axis, see screenshot below.
Basically, I want to sort the Y Axis based on the Even Rate in descending order. The structure of the data is as follows:
major model > ...
            
        
       
    
            1
            vote
        
        
            1
            answer
        
        
            23
            views
        
    Add arbitrary legend to a dual Y-axis bar chart
                I'm working on the Vega-lite code shown below. I am trying to add a legend/key with two values, like:
Attempt 1 gist: https://gist.github.com/woter1832/ca24c4dd3a733072239f3a22b7b012dc
Vega Editor
...
            
        
       
    
            0
            votes
        
        
            1
            answer
        
        
            36
            views
        
    altair grouped bar chart with quantitive axis
                When using a quantitive x axis the xOffset does not seem to work in altair, i.e. the bars are stacked but I would like to have them next to each other. When encoding the x-axis as ordinal x=alt.X(&...
            
        
       
    
            3
            votes
        
        
            1
            answer
        
        
            19
            views
        
    Plotting a mesh with transparent nans doesn't seem to work
                The following code:
import pyvista as pv
import numpy as np
def test_pyvista_layers():
    """Test how PyVista handles multiple mesh layers with NaN values and opacity settings"&...
            
        
       
    
            1
            vote
        
        
            1
            answer
        
        
            24
            views
        
    Sort normalized stacked bar chart by dataframe order with Altair
                How can I keep the order of my stacked bars chart from my Dataframe ?
The head of my Dataframe looks like this :
The countries are ordered as I want them to be and I can handle it by setting sort=...
            
        
       
    
            0
            votes
        
        
            0
            answers
        
        
            26
            views
        
    I need to create a Tree chart view in super set, but i'm not understanding the correct way to set the table to the visual work correctly
                I need to create a Tree chart view in super set, but i'm not understanding the correct  way to set the table to the visual work correctly
I had create a view in superset to reproduce a metric e had in ...
            
        
       
    
            1
            vote
        
        
            1
            answer
        
        
            27
            views
        
    Specific type of Bar Chart [closed]
                I would like to create the bar diagram in the image below, as shown in the picture on the left there are equipment designations. In the figure, a bar indicates which time interval there is data in, ...
            
        
       
    
            0
            votes
        
        
            2
            answers
        
        
            51
            views
        
    Legend symbols (but not text) are present in R ggplot2
                I made a complicated figure a while ago that looked like this:
Unfortunately, since that time my computer died and I lost the most recent, functional version of the code I used to generate this ...
            
        
       
    
            1
            vote
        
        
            1
            answer
        
        
            28
            views
        
    Vega-Lite (Deneb) | Waterfall Chart (Start & End Column Problem)
                I have hit a dead-end trying to create both a BEGIN / END column for a waterfall chart.
I've managed to create the END column which correctly sits at the end of the X-axis (Jan to Dec). However, I'm ...
            
        
       
    
            2
            votes
        
        
            0
            answers
        
        
            94
            views
        
    PCA Plot Clustering Issue with Time Series Motion Capture Data
                I am using PCA for dimensionality reduction on a time series dataset of hand motion capture data and am encountering unexpected clustering behaviour. Below are the details of my process and the issue ...
            
        
       
    
            0
            votes
        
        
            0
            answers
        
        
            16
            views
        
    Jenkins visualization of all the pipelines
                We are looking for Jenkins visualization of all the pipelines that shows
which is the last pipeline ran
Get the commit ID and commit message
pipeline runtime in minutes
graphical interface that shows ...
            
        
       
    
            0
            votes
        
        
            1
            answer
        
        
            29
            views
        
    My series data is not rendering the dates correctly
                I am trying to do a forecast chart using highcharts but all my dates that say December in my second series are also showing up a November dates. Not sure why.
Highcharts.chart("container", {
  ...
            
        
       
    
            0
            votes
        
        
            1
            answer
        
        
            24
            views
        
    Vega Lite Geography Plot
                I'm new to Vega Lite. Been trying for hours with no luck on how to plot polygons. I know there is a code example in Vega Lite website, however, they always use within the "data" parameter a ...
            
        
       
    
            1
            vote
        
        
            1
            answer
        
        
            15
            views
        
    How to show y-axis nominal labels, regardless of whether there is data
                I have some a simple bar chart, and at times some of the y-axis nominal categories do not have any data associated with them. However, I do still want to show these values on the chart, for ...
            
        
       
    
            1
            vote
        
        
            0
            answers
        
        
            30
            views
        
    Dynamic Scaling of ApexCharts Scatter Plot with Large Dataset
                I am using ApexCharts to render a scatter plot with a large dataset (around 300+ points) where each point has an x and y value. Here’s an example of my data: (client requirement)
**opr_planned_arr1** =...
            
        
       
    
            -1
            votes
        
        
            0
            answers
        
        
            50
            views
        
    Optimize Looker Dashboard to reduce number of queries to BigQuery
                I have created a looker dashboard and it works fine but costs a lot.
Upon looking into it, here seems to be the problem.
There is a single table in BigQuery which is the data source. It is 2.64GB in ...
            
        
       
    
            0
            votes
        
        
            0
            answers
        
        
            23
            views
        
    "Subtotals ignored" in LookML dashboard preventing expanding/collapsing records
                I have a user-defined Looker dashboard which includes a table visualization with a product_category and product column. Subtotals in this visualization are enabled in order to allow users to expand ...
            
        
       
    
            1
            vote
        
        
            1
            answer
        
        
            25
            views
        
    Do I fit t-SNE the two sets of embeddings from two different models at the same time or do I fit each separately then visualize and compare?
                I have two sets of embeddings from two different GNNs. I want to compare the embeddings by visualization and I want to know which way is the most appropriate way for comparison. Do I fit t-SNE ...
            
        
       
    
            2
            votes
        
        
            1
            answer
        
        
            38
            views
        
    How to display decimal points on the x-axis in a forest plot using the forestplot package in R?
                I am using the forestplot package in R to create a forest plot, and I am trying to display decimal points on the x-axis tick labels (e.g., 1.0 instead of 1, 2.0 instead of 2). However, despite ...
            
        
       
    
            0
            votes
        
        
            2
            answers
        
        
            38
            views
        
    Can't add the DAX measures to the columns
                I have a table
Date
Customer
Sales
Feb-24
Ian
2
Mar-24
Ian
5
Apr-24
Ian
7
May-24
Ian
10
I want to create a table matrix that looks like this
Customer
Feb24
Mar24
Apr24
May24
Q1 Sales
Q2 Sales
...
            
        
       
    
            2
            votes
        
        
            1
            answer
        
        
            65
            views
        
    Chart (circle) background off not working
                EDIT: Add Screenshot
I am trying to use a Deneb Unit Chart (circle) from https://github.com/PBI-David/Deneb-Showcase in my Power BI Dashboard. Unfortunatelty I am not able to switch off the ...
            
        
       
    
            4
            votes
        
        
            1
            answer
        
        
            33
            views
        
    Different pattern in each discrete option in HH::likert function
                I want to create a Likert plot using the HH package that incorporates visual patterns (e.g. hatching) in each bar category to improve accessibility for color-blind users.
Apparently, having grey-...
            
        
       
    
            1
            vote
        
        
            1
            answer
        
        
            39
            views
        
    reserve space for a legend in pyplot while fixing plot size and x-axis position
                here are two of my plotting functions and example use:
import matplotlib.pyplot as plt
def set_legend(ax, item_count, title=None):
    legend = ax.legend(
        title=title,
        loc='upper ...
            
        
       
    
            1
            vote
        
        
            2
            answers
        
        
            42
            views
        
    Matplotlib polar chart not showing all xy-ticks
                Issue 1: The x-ticks (pie pieces) aren't ordered from 0 to 24 (my bad, should be 1)
Issue 2: all y-ticks (rings) aren't showing
Issue 3: Someone seems to have eaten a part of the polar chart ...
I ...
            
        
       
    
            1
            vote
        
        
            0
            answers
        
        
            14
            views
        
    How to visualize a submodule of a model in pytorch?
                Understand from this question  that we are able to visualize a net in pytorch. However, if a network is very big and complex, we might want to zoom in and visualize only a specific part of it. Is ...
            
        
       
    
            2
            votes
        
        
            1
            answer
        
        
            49
            views
        
    ggplot multi-line log-log labels
                I have some data I'm plotting like this:
g <- ggplot(datapile, aes(x = Re, y = CD))
g <- g + geom_line(data = datapile, linetype = "solid", size = 1)
g <- g + scale_y_continuous(...
            
        
       
    
            0
            votes
        
        
            1
            answer
        
        
            24
            views
        
    Plotly: Increasing figure size to make room for long footnote
                Building on the example in this thread, I have the following code:
import plotly.express as px
import plotly.graph_objects as go
import pandas as pd
df = pd.read_csv('https://raw.githubusercontent....
            
        
       
    
            1
            vote
        
        
            0
            answers
        
        
            40
            views
        
    Plotly Limited WebGL instances when using subplots
                I'm trying to produce a figure using Python and plotly, it's meant to consist of a considerably large number (>=25) of subplots, each of which is a 3D surface plot.
I am running into issues with my ...
            
        
       
    
            0
            votes
        
        
            0
            answers
        
        
            30
            views
        
    How to set time range to bar chart axes by parsing using Chart Js?
                I am using ChartJs v3.9.1 in my Angular project. I need to create a timeline and I am trying to create it using horizontal bar chart.
I did horizontal bar chart with time axes but I have a json data. ...
            
        
       
    
            0
            votes
        
        
            0
            answers
        
        
            25
            views
        
    Why do ggmagnify() zoomed-in insets are off-limit?
                First, I am not very familiar with the R language and learn it. I use R4.31, RStudio , ggplot2 3.5.1, dplyr 1.1.4 and ggmagnify 0.4.1.
Second, most of my needs are plots so ggplot is very useful. This ...
            
        
       
    
            1
            vote
        
        
            2
            answers
        
        
            47
            views
        
    Presenting complex table data in chart for a single slide
                Tables allow to summarise complex information. I have a table similar following one (this is produce for this question) in my latex document, like so:
\documentclass{article}
\usepackage{graphicx} % ...
            
        
       
    
            0
            votes
        
        
            0
            answers
        
        
            27
            views
        
    How to have interactions with right mouse click as well as brush in d3
                I have a scatterplot with a tooltip interaction on the points using the right mouse button. On top of it I added a 2D brush, it works perfectly, but I cannot iniziate brushing if I am on a datapoint ...
            
        
       
    
            1
            vote
        
        
            1
            answer
        
        
            29
            views
        
    plotly is not updating the info correctly with dropdown interactivity
                I'm facing an issue with updating the median line on a plotly scatter plot when interacting with a dropdown. The dropdown allows the user to select a column (Y-axis), and I want the median of the ...
            
        
       
    
            0
            votes
        
        
            1
            answer
        
        
            43
            views
        
    Coloring points on a graph proportionately
                I have this graph in R:
library(igraph)
width <- 30
height <- 20
num_nodes <- width * height
x <- rep(1:width, each = height)
y <- rep(1:height, times = width)
g <- ...
            
        
       
    
            3
            votes
        
        
            1
            answer
        
        
            179
            views
        
    Border padding in gt table
                I want to add a little padding to my gt table so that the borders don't run up against each other. Ideally, this means the borders just have a little bit of margin within their cell so they look like ...
            
        
       
    
            2
            votes
        
        
            1
            answer
        
        
            57
            views
        
    Timestamp and data on different lines
                My datafile is in the following format:
2024-11-11 11:08:39
[1]123,45,67,89,0,0,0
[2]11,22,33,44,0,0,0
[5]99,88,77,66,0,0,0
2024-11-11 11:08:40
[1]123,45,67,89,0,0,0
[2]55,66,77,88,0,0,0
[5]99,88,77,...
            
        
       
    
            1
            vote
        
        
            0
            answers
        
        
            25
            views
        
    How to Create Nested Facets in Altair with Consistent Scale Across Rows?
                I'm working on a data visualization project in Python using Altair, and I'm struggling with creating nested facets with consistent scales across all rows. I want to create a plot that facets on one ...
            
        
       
    
            1
            vote
        
        
            1
            answer
        
        
            118
            views
        
    Drawing rectangles in spherical coordinates in gnuplot
                I have the following dataset:
which is a spherical partition using the Leopardi et al, 2006 algorithm. Each grid cell is a rectangle in spherical coordinates, defined by a top left corner (theta0,...
            
        
       
    
            1
            vote
        
        
            1
            answer
        
        
            34
            views
        
    Align IRR points on a forest plot with their respective table rows in R?
                I am struggling to get the rows in my table to align correctly with their respective IRR points on the plot (e.g., values for A align with the IRR point for A on the plot).
Specifically, I am creating ...