Skip to main content

Timeline for Units, plotting and empty plots

Current License: CC BY-SA 3.0

9 events
when toggle format what by license comment
Apr 13, 2017 at 12:55 history edited CommunityBot
replaced http://mathematica.stackexchange.com/ with https://mathematica.stackexchange.com/
Jun 26, 2013 at 19:42 comment added GIulio Indeed, I found that one second ago too, but still I would expect to change it back to 'bars' with: TargetUnits -> "Bars". The first one is really strange though !
Jun 26, 2013 at 18:46 comment added Corey Kelly Didn't realize Quantity[] would convert units. Replacing "Bars" with "Pascals" makes my second two examples agree. I'm still not sure why the first one is different. I can't find any examples of passing Quantity[] values using the plot range.
Jun 26, 2013 at 17:07 history edited Corey Kelly CC BY-SA 3.0
added 1589 characters in body
Jun 26, 2013 at 16:34 comment added Corey Kelly Hmm. That's really odd. I can reproduce that here, too.
Jun 26, 2013 at 16:10 comment added GIulio Yes, you are absolutely correct it works. But, I honestly didn't expect that output :D If i drop the units, I get the expected behavior! link EDIT:with the same paramters Temperature going from 250 to 350 in step of 10
Jun 26, 2013 at 16:02 comment added Corey Kelly Works for me: Show[Plot[ Evaluate[ PVW[V, Quantity[#, "Kelvins"], Quantity[1, "Moles"]]], {V, Quantity[0.06, "Liters"], Quantity[0.6, "Liters"]}, Frame -> True, GridLines -> None, LabelStyle -> {FontFamily -> "Helvetica", FontSize -> 15}, FrameLabel -> {"Volume", "Pressure"}] & /@ Range[50, 350, 50], PlotRange -> {{0.06, 0.6}, {0, 40000}}]
Jun 26, 2013 at 15:57 comment added GIulio It works, but it seems that If now change say the tempeature inside the evaluate PVW call it doesn't change the plot
Jun 26, 2013 at 15:51 history answered Corey Kelly CC BY-SA 3.0