Skip to main content
Filter by
Sorted by
Tagged with
5 votes
2 answers
114 views

I'm working on a facet_nested_wrap plot (see image below) where I happen to have one of the aspect (CENT) having only one level, as opposed to two, as in the other (TELO). Is there a way to increase ...
Matteo's user avatar
  • 525
1 vote
1 answer
67 views

I am trying to make a ggplot() using geom_bars() which are wrapped by ranking. I have multiple rankings, and on each place, more than one group can have the same ranking. Here is my MWE: data <- ...
canIchangethis's user avatar
3 votes
2 answers
100 views

I'm working on the facet plot below; however, I have two main issues: I can't properly set independent space values for the between chr* and the between G* facets e. g. I wish to set 0.1 for the ...
Matteo's user avatar
  • 525
-1 votes
1 answer
60 views

I have data that has two logical variables (a treatment variable and an outcome variable) and one categorical variable. I want to use a mosaic plot to visualize the logical dimensions faceted by the ...
MZimbric's user avatar
2 votes
0 answers
40 views

I’m working with Algolia and need to filter search results for a single material (e.g., "100% Cotton") while excluding any items that contain a blend of other materials (like "Cotton-...
Victor Vaughn's user avatar
0 votes
1 answer
333 views

I have what I thought would be a simple problem that has been absolutely killing me: I have a group of people and I would like to plot ~5 metrics for each of them. Each metric is a function over time (...
Zoe's user avatar
  • 21
1 vote
1 answer
107 views

I often do plots with ggplot and nested facets using facet_nested() from the ggh4x package. However, in some cases, I have somewhat long panel texts. In this case, all panels take the the longest ...
Léa's user avatar
  • 35
2 votes
1 answer
88 views

I am using facet_wrap and need to move the x axis table left and the y2 axis lable up to make room for my legend and was wondering if the is possible. Below is my code and an image of what I am trying ...
Savy's user avatar
  • 45
1 vote
1 answer
82 views

I'm working on R (version 4.4.2) I'm using the library echarts4r (version 0.4.5) to create a plot. I want to use e_facet to perform something like facet_wrap in ggplot2, splitting the plot into two ...
Joaquín L's user avatar
1 vote
1 answer
50 views

I have configured a facet for my custom thesaurus, which works well. But I could not find a solution to display a custom name for the search facet. I have configured the facet through the UI. Here is ...
user7882389's user avatar
0 votes
1 answer
43 views

I really struggle with ggplot but can usually find what I need on this site or somewhere else. I think what I'm trying to do should be really simple but I can't get this to work. I have two data ...
noNameTed's user avatar
  • 331
0 votes
0 answers
39 views

The code below used to produce grid maps for each province and a map where each province is its own layer respectively. Has the option "as.layers = TRUE" been disabled in tmap v4? library(...
Uziel Gonzalez Gonzalez's user avatar
1 vote
1 answer
40 views

I want to visualize the distribution of a variable ('F3A7_1') by plotting a histogram, and right underneath it a boxplot (below the y-axis of the histogram or something). I also want to create this ...
kornpat's user avatar
  • 37
0 votes
1 answer
43 views

I followed the code on this page to create balloon plots with ggballoonplot() using facet.by. I wanted to add an x axis title, so I followed what was recommended in the question asked here to which ...
DoctorSpruce's user avatar
0 votes
0 answers
46 views

I am trying to change the text direction in a facet nested chart with three variables on the one panel, I have tried (with only 2 variables) strip.text.y.right and strip.text.y.left, no dice! Ideally ...
obs's user avatar
  • 65
-1 votes
1 answer
53 views

I am plotting n plots next to each other using facet_nested_wrap, and i would like that the y-axis por each subfacet is fixed according to the y-axis of the principal facet, but that each principal ...
Yesid Sánchez Arias's user avatar
1 vote
2 answers
59 views

I must be missing something simple, but for the life of me I cannot identify why I am not able to reproduce the behavior of tidytext::reorder_within() on my own data. All works fine for the iris data. ...
mvanaman's user avatar
  • 365
0 votes
1 answer
85 views

I am wondering if there are any ways to change the background colour of strip text by the grouping variable (group2) which is not in the faceting variable (group1) in ggplot. For example, in the plot ...
SAL's user avatar
  • 2,286
0 votes
2 answers
102 views

I have a bunch of event data which is identified by uid and timestamp. I have a number of aggregation pipelines which will calculate statistics for each user. These work if I run them one at a time, ...
ralmond's user avatar
  • 126
1 vote
2 answers
196 views

My aim is to generate an interactive combined line plot and facet dot plot in R. Moving the mouse over one of the lines should highlight it together with the corresponding dot plot facet, and vice ...
ThomasW's user avatar
  • 11
0 votes
1 answer
26 views

In Sitecore I have a custom computed field that needs to be an integer in Cove, but instead is being processed as a decimal. I am not sure what I have wrong in the configuration public class ...
Erica Stockwell-Alpert's user avatar
2 votes
1 answer
64 views

I want to change the facet label position from right to top. How can I do it in ggplot2 under the gglikert() function ? library(tidyverse) library(ggstats) likert_levels <- c( "Strongly ...
Homer Jay Simpson's user avatar
0 votes
1 answer
316 views

I would like to do a Facet Search that returns the "$$SEARCH_META" based on the documentation (https://www.mongodb.com/docs/atlas/atlas-search/facet/). A snippet of the search definition ...
O'Neil Tomlinson's user avatar
2 votes
1 answer
116 views

I'm using a faceted chart in Altair in order to split a lengthy timeline into multiple rows. My initial dataset is a pandas dataframe with "Start" and "End" timestamp columns and a ...
Christoph Burschka's user avatar
0 votes
1 answer
39 views

I want to create a nested_facet plot but the labels contain a less or equal sign and a greater or equal sign and spaces. The following is an example: df <- iris df$factor <- factor(rep(c('Values ...
Elliot's user avatar
  • 69
0 votes
1 answer
88 views

Say I have the final_df data frame in the MWE below, and I make the plot below it, using a custom scale_x_continuous and element_markdown from ggtext. myseq <- "AGAATATTATACATTCATCT" set....
DaniCee's user avatar
  • 3,247
0 votes
1 answer
100 views

I am analyzing EHR data of diabetic patients. The objective is to perform time-to-event analyses to explore whether switching therapies at certain HbA1c thresholds leads to better long-term outcomes, ...
arshad's user avatar
  • 447
2 votes
0 answers
78 views

By default, WPGridbuilder's "Stock" filter does not consider "On Backorder" as a stock status by WooCommerce, it considers it as "In Stock". I want to create a facet ...
burtow's user avatar
  • 21
1 vote
1 answer
226 views

I've implemented an index using the hosted Algolia platform. It contains some records all of them have a few facets, including "lang" that can have the value 'fr', 'de', 'en' or 'it'. I use ...
Aurel's user avatar
  • 433
2 votes
0 answers
159 views

I created a composite component that renders a form and an ul like this: <h:form id="formid"> <ul> <composite:renderFacet name="listItems" /> </ul&...
Tim Döring's user avatar
2 votes
1 answer
123 views

I am trying to add upper and lower limits red dashed horizontal lines to each facet Line plot based on respective column values but dashed lines are not formed at correct yaxis values of the facets. I ...
ViSa's user avatar
  • 2,367
0 votes
1 answer
44 views

I want to plot Gross Domestic Product per capita (gdppc) and growthRate = diff(log(gdppc)) in 2 panels with gdppc on a log scale and growthRate on a linear scale. EXAMPLE: set.seed(1) growthRate <- ...
Spencer Graves's user avatar
2 votes
1 answer
194 views

I'm facing an issue with rendering content passed through facets in nested composite components. Despite the facets being recognized as not empty, the content inside these facets does not appear on ...
AndySpu's user avatar
  • 73
0 votes
1 answer
43 views

I'm trying to migrate the Lucene jars for our product from 4.1.0 to the latest if possible. I noticed that we seem to be using org.apache.lucene.facet.search.params.IFieldSet derived classes for our ...
M Sn's user avatar
  • 31
1 vote
2 answers
496 views

Consider the following plot: library(dplyr, warn.conflicts = FALSE) library(ggplot2) p <- diamonds |> filter(color %in% c("D", "E", "F") & cut %in% c(&...
Emman's user avatar
  • 4,313
2 votes
0 answers
73 views

I have a facetted bar plot using both facet_row and facet_col. I need to have annotations for the value of facet_row on each of the individual facets created. I have tried using xref=paper, which ...
Matt G's user avatar
  • 23
1 vote
1 answer
138 views

I'm trying to create a facet plot using a data.table. Ideally I would like to add the maximum and minimum acceptable values in each facet so it is easier to compare. They are all in the same data....
thAngryUnicorn's user avatar
1 vote
1 answer
81 views

I am plotting survey data (ESS) on party preference using ggplot and am creating a separate facet plot for each party. I would like each plot to have the colour of the party it is showing, wherein ...
Teresa Petra's user avatar
2 votes
2 answers
244 views

I am creating a 2x2 ggplot using facet_wrap where the columns are two different groups. This means that the x-axis on the columns is the same between the top row and the bottom row, but different ...
SamPassmore's user avatar
  • 1,365
1 vote
1 answer
470 views

I am building an Azure search experience to index and search files in blob storage. The blobs have metadata applied (which I am applying through an azure function). I am mapping the metadata values to ...
Mike Edwards's user avatar
0 votes
1 answer
64 views

I have a data set containing mass for different treatments at two experimental areas. There's 2 treatments at one area and 4 at another. I now would like to plot this data, using facet_grid() to facet ...
Em Laskey's user avatar
  • 607
0 votes
1 answer
673 views

I am trying to create different bar graphs within a loop showing counts per species and regions, faceting by regions. The structure of my df it's something like: # Sample data frame structure ...
RGR_288's user avatar
  • 93
2 votes
2 answers
108 views

Every time I make a fasted bar chart, if there is a section with no data ggplot will still make a spot for it in its aim for symmetry and thus it looks like these variables were tested and received a ...
Savy's user avatar
  • 45
0 votes
1 answer
102 views

I have aggregation with query as https://mongoplayground.net/p/jxaI7MAyBmJ I have project type, count and empName by adding stages under data to filter with below 2 condition type as a2 and empName (...
Prakash's user avatar
  • 669
0 votes
0 answers
65 views

I have a collection with document structure type: POSSIBLE VALUES ARE a1 or a2 emp_name: <<String>> status: POSSIBLE VALUES ARE 0 or 1 I am using mongodb aggregate facet with 2 ...
Prakash's user avatar
  • 669
0 votes
1 answer
350 views

When using plotly express imshow with facet_col, the returned figure has more than one trace. How can this figure be properly added to a Figurewidget object and later on be updated with new data? This ...
messenjah00's user avatar
1 vote
2 answers
81 views

Consider this MWE, from matplotlib import pyplot pyplot.style.use('classic') pyplot.rcParams.update( { 'text.usetex': True, "font.family": "serif", 'text.latex.preamble'...
sigsegv's user avatar
  • 211
0 votes
2 answers
142 views

Let's say I have a dataframe with a column facet that I want to use for faceting. Easy: ggplot(...) + facet_grid(. ~ facet) But I want to dynamically specify the faceting column like so: FACET_COLUMN ...
musbur's user avatar
  • 679
1 vote
1 answer
614 views

Below is a simplified version of my data. I want to plot the Means using vertical bars with ggplot() + geom_bar. There are a few things I want to do. I want to separate the data where I have the data ...
heatheryawney's user avatar
1 vote
1 answer
168 views

I have multiple histograms faceted, each with a unique y axis. I would like to overlay a dot and line representing the mean and 90%CI near the top of facet using stat_interval. Stat_interval allows ...
user21008368's user avatar

1
2 3 4 5
37